<!doctype html>
<html>
<head>
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>

<style type='text/css'>html {overflow-x: initial !important;}:root { --bg-color: #ffffff; --text-color: #333333; --select-text-bg-color: #B5D6FC; --select-text-font-color: auto; --monospace: "Lucida Console",Consolas,"Courier",monospace; --title-bar-height: 20px; }
.mac-os-11 { --title-bar-height: 28px; }
html { font-size: 14px; background-color: var(--bg-color); color: var(--text-color); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { white-space: pre-wrap; }
body { margin: 0px; padding: 0px; height: auto; inset: 0px; font-size: 1rem; line-height: 1.42857143; overflow-x: hidden; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: inherit; background-position: inherit; background-repeat: inherit; }
iframe { margin: auto; }
a.url { word-break: break-all; }
a:active, a:hover { outline: 0px; }
.in-text-selection, ::selection { text-shadow: none; background: var(--select-text-bg-color); color: var(--select-text-font-color); }
#write { margin: 0px auto; height: auto; width: inherit; word-break: normal; word-wrap: break-word; position: relative; white-space: normal; overflow-x: visible; padding-top: 36px; }
#write.first-line-indent p { text-indent: 2em; }
#write.first-line-indent li p, #write.first-line-indent p * { text-indent: 0px; }
#write.first-line-indent li { margin-left: 2em; }
.for-image #write { padding-left: 8px; padding-right: 8px; }
body.typora-export { padding-left: 30px; padding-right: 30px; }
.typora-export .footnote-line, .typora-export li, .typora-export p { white-space: pre-wrap; }
.typora-export .task-list-item input { pointer-events: none; }
@media screen and (max-width: 500px) {
  body.typora-export { padding-left: 0px; padding-right: 0px; }
  #write { padding-left: 20px; padding-right: 20px; }
}
#write li > figure:last-child { margin-bottom: 0.5rem; }
#write ol, #write ul { position: relative; }
img { max-width: 100%; vertical-align: middle; image-orientation: from-image; }
button, input, select, textarea { color: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; }
input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0px; }
*, ::after, ::before { box-sizing: border-box; }
#write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p, #write pre { width: inherit; }
#write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p { position: relative; }
p { line-height: inherit; }
h1, h2, h3, h4, h5, h6 { break-after: avoid-page; break-inside: avoid; orphans: 4; }
p { orphans: 4; }
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }
.md-math-block, .md-rawblock, h1, h2, h3, h4, h5, h6, p { margin-top: 1rem; margin-bottom: 1rem; }
.hidden { display: none; }
.md-blockmeta { color: rgb(204, 204, 204); font-weight: 700; font-style: italic; }
a { cursor: pointer; }
sup.md-footnote { padding: 2px 4px; background-color: rgba(238, 238, 238, 0.7); color: rgb(85, 85, 85); border-radius: 4px; cursor: pointer; }
sup.md-footnote a, sup.md-footnote a:hover { color: inherit; text-transform: inherit; text-decoration: inherit; }
#write input[type="checkbox"] { cursor: pointer; width: inherit; height: inherit; }
figure { overflow-x: auto; margin: 1.2em 0px; max-width: calc(100% + 16px); padding: 0px; }
figure > table { margin: 0px; }
thead, tr { break-inside: avoid; break-after: auto; }
thead { display: table-header-group; }
table { border-collapse: collapse; border-spacing: 0px; width: 100%; overflow: auto; break-inside: auto; text-align: left; }
table.md-table td { min-width: 32px; }
.CodeMirror-gutters { border-right-width: 0px; background-color: inherit; }
.CodeMirror-linenumber { -webkit-user-select: none; }
.CodeMirror { text-align: left; }
.CodeMirror-placeholder { opacity: 0.3; }
.CodeMirror pre { padding: 0px 4px; }
.CodeMirror-lines { padding: 0px; }
div.hr:focus { cursor: none; }
#write pre { white-space: pre-wrap; }
#write.fences-no-line-wrapping pre { white-space: pre; }
#write pre.ty-contain-cm { white-space: normal; }
.CodeMirror-gutters { margin-right: 4px; }
.md-fences { font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; overflow: visible; white-space: pre; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: inherit; position: relative !important; background-position: inherit; background-repeat: inherit; }
.md-fences-adv-panel { width: 100%; margin-top: 10px; text-align: center; padding-top: 0px; padding-bottom: 8px; overflow-x: auto; }
#write .md-fences.mock-cm { white-space: pre-wrap; }
.md-fences.md-fences-with-lineno { padding-left: 0px; }
#write.fences-no-line-wrapping .md-fences.mock-cm { white-space: pre; overflow-x: auto; }
.md-fences.mock-cm.md-fences-with-lineno { padding-left: 8px; }
.CodeMirror-line, twitterwidget { break-inside: avoid; }
svg { break-inside: avoid; }
.footnotes { opacity: 0.8; font-size: 0.9rem; margin-top: 1em; margin-bottom: 1em; }
.footnotes + .footnotes { margin-top: 0px; }
.md-reset { margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: top; text-decoration: none; text-shadow: none; float: none; position: static; width: auto; height: auto; white-space: nowrap; cursor: inherit; line-height: normal; font-weight: 400; text-align: left; box-sizing: content-box; direction: ltr; background-position: 0px 0px; }
li div { padding-top: 0px; }
blockquote { margin: 1rem 0px; }
li .mathjax-block, li p { margin: 0.5rem 0px; }
li blockquote { margin: 1rem 0px; }
li { margin: 0px; position: relative; }
blockquote > :last-child { margin-bottom: 0px; }
blockquote > :first-child, li > :first-child { margin-top: 0px; }
.footnotes-area { color: rgb(136, 136, 136); margin-top: 0.714rem; padding-bottom: 0.143rem; white-space: normal; }
#write .footnote-line { white-space: pre-wrap; }
@media print {
  body, html { border: 1px solid transparent; height: 99%; break-after: avoid; break-before: avoid; font-variant-ligatures: no-common-ligatures; }
  #write { margin-top: 0px; border-color: transparent !important; padding-top: 0px !important; padding-bottom: 0px !important; }
  .typora-export * { print-color-adjust: exact; }
  .typora-export #write { break-after: avoid; }
  .typora-export #write::after { height: 0px; }
  .is-mac table { break-inside: avoid; }
  #write > p:nth-child(1) { margin-top: 0px; }
  .typora-export-show-outline .typora-export-sidebar { display: none; }
  figure { overflow-x: visible; }
}
.footnote-line { margin-top: 0.714em; font-size: 0.7em; }
a img, img a { cursor: pointer; }
pre.md-meta-block { font-size: 0.8rem; min-height: 0.8rem; white-space: pre-wrap; background-color: rgb(204, 204, 204); display: block; overflow-x: hidden; }
p > .md-image:only-child:not(.md-img-error) img, p > img:only-child { display: block; margin: auto; }
#write.first-line-indent p > .md-image:only-child:not(.md-img-error) img { left: -2em; position: relative; }
p > .md-image:only-child { display: inline-block; width: 100%; }
#write .MathJax_Display { margin: 0.8em 0px 0px; }
.md-math-block { width: 100%; }
.md-math-block:not(:empty)::after { display: none; }
.MathJax_ref { fill: currentcolor; }
[contenteditable="true"]:active, [contenteditable="true"]:focus, [contenteditable="false"]:active, [contenteditable="false"]:focus { outline: 0px; box-shadow: none; }
.md-task-list-item { position: relative; list-style-type: none; }
.task-list-item.md-task-list-item { padding-left: 0px; }
.md-task-list-item > input { position: absolute; top: 0px; left: 0px; margin-left: -1.2em; margin-top: calc(1em - 10px); border: none; }
.math { font-size: 1rem; }
.md-toc { min-height: 3.58rem; position: relative; font-size: 0.9rem; border-radius: 10px; }
.md-toc-content { position: relative; margin-left: 0px; }
.md-toc-content::after, .md-toc::after { display: none; }
.md-toc-item { display: block; color: rgb(65, 131, 196); }
.md-toc-item a { text-decoration: none; }
.md-toc-inner:hover { text-decoration: underline; }
.md-toc-inner { display: inline-block; cursor: pointer; }
.md-toc-h1 .md-toc-inner { margin-left: 0px; font-weight: 700; }
.md-toc-h2 .md-toc-inner { margin-left: 2em; }
.md-toc-h3 .md-toc-inner { margin-left: 4em; }
.md-toc-h4 .md-toc-inner { margin-left: 6em; }
.md-toc-h5 .md-toc-inner { margin-left: 8em; }
.md-toc-h6 .md-toc-inner { margin-left: 10em; }
@media screen and (max-width: 48em) {
  .md-toc-h3 .md-toc-inner { margin-left: 3.5em; }
  .md-toc-h4 .md-toc-inner { margin-left: 5em; }
  .md-toc-h5 .md-toc-inner { margin-left: 6.5em; }
  .md-toc-h6 .md-toc-inner { margin-left: 8em; }
}
a.md-toc-inner { font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }
.footnote-line a:not(.reversefootnote) { color: inherit; }
.reversefootnote { font-family: ui-monospace, sans-serif; }
.md-attr { display: none; }
.md-fn-count::after { content: "."; }
code, pre, samp, tt { font-family: var(--monospace); }
kbd { margin: 0px 0.1em; padding: 0.1em 0.6em; font-size: 0.8em; color: rgb(36, 39, 41); background-color: rgb(255, 255, 255); border: 1px solid rgb(173, 179, 185); border-radius: 3px; box-shadow: rgba(12, 13, 14, 0.2) 0px 1px 0px, rgb(255, 255, 255) 0px 0px 0px 2px inset; white-space: nowrap; vertical-align: middle; }
.md-comment { color: rgb(162, 127, 3); opacity: 0.6; font-family: var(--monospace); }
code { text-align: left; }
a.md-print-anchor { white-space: pre !important; border: none !important; display: inline-block !important; position: absolute !important; width: 1px !important; right: 0px !important; outline: 0px !important; text-shadow: initial !important; background-position: 0px 0px !important; }
.os-windows.monocolor-emoji .md-emoji { font-family: "Segoe UI Symbol", sans-serif; }
.md-diagram-panel > svg { max-width: 100%; }
[lang="flow"] svg, [lang="mermaid"] svg { max-width: 100%; height: auto; }
[lang="mermaid"] .node text { font-size: 1rem; }
table tr th { border-bottom-width: 0px; }
video { max-width: 100%; display: block; margin: 0px auto; }
iframe { max-width: 100%; width: 100%; border: none; }
.highlight td, .highlight tr { border: 0px; }
mark { background-color: rgb(255, 255, 0); color: rgb(0, 0, 0); }
.md-html-inline .md-plain, .md-html-inline strong, mark .md-inline-math, mark strong { color: inherit; }
.md-expand mark .md-meta { opacity: 0.3 !important; }
mark .md-meta { color: rgb(0, 0, 0); }
@media print {
  .typora-export h1, .typora-export h2, .typora-export h3, .typora-export h4, .typora-export h5, .typora-export h6 { break-inside: avoid; }
}
.md-diagram-panel .messageText { stroke: none !important; }
.md-diagram-panel .start-state { fill: var(--node-fill); }
.md-diagram-panel .edgeLabel rect { opacity: 1 !important; }
.md-fences.md-fences-math { font-size: 1em; }
.md-fences-advanced:not(.md-focus) { padding: 0px; white-space: nowrap; border: 0px; }
.md-fences-advanced:not(.md-focus) { background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: inherit; background-position: inherit; background-repeat: inherit; }
.typora-export-show-outline .typora-export-content { max-width: 1440px; margin: auto; display: flex; flex-direction: row; }
.typora-export-sidebar { width: 300px; font-size: 0.8rem; margin-top: 80px; margin-right: 18px; }
.typora-export-show-outline #write { --webkit-flex: 2; flex: 2 1 0%; }
.typora-export-sidebar .outline-content { position: fixed; top: 0px; max-height: 100%; overflow: hidden auto; padding-bottom: 30px; padding-top: 60px; width: 300px; }
@media screen and (max-width: 1024px) {
  .typora-export-sidebar, .typora-export-sidebar .outline-content { width: 240px; }
}
@media screen and (max-width: 800px) {
  .typora-export-sidebar { display: none; }
}
.outline-content li, .outline-content ul { margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; list-style: none; overflow-wrap: anywhere; }
.outline-content ul { margin-top: 0px; margin-bottom: 0px; }
.outline-content strong { font-weight: 400; }
.outline-expander { width: 1rem; height: 1.428571429rem; position: relative; display: table-cell; vertical-align: middle; cursor: pointer; padding-left: 4px; }
.outline-expander::before { content: ""; position: relative; font-family: Ionicons; display: inline-block; font-size: 8px; vertical-align: middle; }
.outline-item { padding-top: 3px; padding-bottom: 3px; cursor: pointer; }
.outline-expander:hover::before { content: ""; }
.outline-h1 > .outline-item { padding-left: 0px; }
.outline-h2 > .outline-item { padding-left: 1em; }
.outline-h3 > .outline-item { padding-left: 2em; }
.outline-h4 > .outline-item { padding-left: 3em; }
.outline-h5 > .outline-item { padding-left: 4em; }
.outline-h6 > .outline-item { padding-left: 5em; }
.outline-label { cursor: pointer; display: table-cell; vertical-align: middle; text-decoration: none; color: inherit; }
.outline-label:hover { text-decoration: underline; }
.outline-item:hover { border-color: rgb(245, 245, 245); background-color: var(--item-hover-bg-color); }
.outline-item:hover { margin-left: -28px; margin-right: -28px; border-left-width: 28px; border-left-style: solid; border-left-color: transparent; border-right-width: 28px; border-right-style: solid; border-right-color: transparent; }
.outline-item-single .outline-expander::before, .outline-item-single .outline-expander:hover::before { display: none; }
.outline-item-open > .outline-item > .outline-expander::before { content: ""; }
.outline-children { display: none; }
.info-panel-tab-wrapper { display: none; }
.outline-item-open > .outline-children { display: block; }
.typora-export .outline-item { padding-top: 1px; padding-bottom: 1px; }
.typora-export .outline-item:hover { margin-right: -8px; border-right-width: 8px; border-right-style: solid; border-right-color: transparent; }
.typora-export .outline-expander::before { content: "+"; font-family: inherit; top: -1px; }
.typora-export .outline-expander:hover::before, .typora-export .outline-item-open > .outline-item > .outline-expander::before { content: "−"; }
.typora-export-collapse-outline .outline-children { display: none; }
.typora-export-collapse-outline .outline-item-open > .outline-children, .typora-export-no-collapse-outline .outline-children { display: block; }
.typora-export-no-collapse-outline .outline-expander::before { content: "" !important; }
.typora-export-show-outline .outline-item-active > .outline-item .outline-label { font-weight: 700; }
.md-inline-math-container mjx-container { zoom: 0.95; }
mjx-container { break-inside: avoid; }
.md-alert.md-alert-note { border-left-color: rgb(9, 105, 218); }
.md-alert.md-alert-important { border-left-color: rgb(130, 80, 223); }
.md-alert.md-alert-warning { border-left-color: rgb(154, 103, 0); }
.md-alert.md-alert-tip { border-left-color: rgb(31, 136, 61); }
.md-alert.md-alert-caution { border-left-color: rgb(207, 34, 46); }
.md-alert { padding: 0px 1em; margin-bottom: 16px; color: inherit; border-left-width: 0.25em; border-left-style: solid; border-left-color: rgb(0, 0, 0); }
.md-alert-text-note { color: rgb(9, 105, 218); }
.md-alert-text-important { color: rgb(130, 80, 223); }
.md-alert-text-warning { color: rgb(154, 103, 0); }
.md-alert-text-tip { color: rgb(31, 136, 61); }
.md-alert-text-caution { color: rgb(207, 34, 46); }
.md-alert-text { font-size: 0.9rem; font-weight: 700; }
.md-alert-text svg { fill: currentcolor; position: relative; top: 0.125em; margin-right: 1ch; overflow: visible; }
.md-alert-text-container::after { content: attr(data-text); text-transform: capitalize; pointer-events: none; margin-right: 1ch; }


:root {
  --mermaid-theme: night;
}

[lang='mermaid'] .label {
  color: #333;
}

/* CSS Document */

/** code highlight */

.cm-s-inner .cm-variable,
.cm-s-inner .cm-operator,
.cm-s-inner .cm-property {
    color: #b8bfc6;
}

.cm-s-inner .cm-keyword {
    color: #C88FD0;
}

.cm-s-inner .cm-tag {
    color: #7DF46A;
}

.cm-s-inner .cm-attribute {
    color: #7575E4;
}

.CodeMirror div.CodeMirror-cursor {
    border-left: 1px solid #b8bfc6;
    z-index: 3;
}

.cm-s-inner .cm-string {
    color: #D26B6B;
}

.cm-s-inner .cm-comment,
.cm-s-inner.cm-comment {
    color: #DA924A;
}

.cm-s-inner .cm-header,
.cm-s-inner .cm-def,
.cm-s-inner.cm-header,
.cm-s-inner.cm-def {
    color: #8d8df0;
}

.cm-s-inner .cm-quote,
.cm-s-inner.cm-quote {
    color: #57ac57;
}

.cm-s-inner .cm-hr {
    color: #d8d5d5;
}

.cm-s-inner .cm-link {
    color: #d3d3ef;
}

.cm-s-inner .cm-negative {
    color: #d95050;
}

.cm-s-inner .cm-positive {
    color: #50e650;
}

.cm-s-inner .cm-string-2 {
    color: #f50;
}

.cm-s-inner .cm-meta,
.cm-s-inner .cm-qualifier {
    color: #b7b3b3;
}

.cm-s-inner .cm-builtin {
    color: #f3b3f8;
}

.cm-s-inner .cm-bracket {
    color: #997;
}

.cm-s-inner .cm-atom,
.cm-s-inner.cm-atom {
    color: #84B6CB;
}

.cm-s-inner .cm-number {
    color: #64AB8F;
}

.cm-s-inner .cm-variable {
    color: #b8bfc6;
}

.cm-s-inner .cm-variable-2 {
    color: #9FBAD5;
}

.cm-s-inner .cm-variable-3 {
    color: #1cc685;
}

.CodeMirror-selectedtext,
.CodeMirror-selected {
    background: #4a89dc;
    color: #fff !important;
    text-shadow: none;
}

.CodeMirror-gutters {
    border-right: none;
}

/* CSS Document */

/** markdown source **/
.cm-s-typora-default .cm-header, 
.cm-s-typora-default .cm-property
{
    color: #cebcca;
}

.CodeMirror.cm-s-typora-default div.CodeMirror-cursor{
    border-left: 3px solid #b8bfc6;
}

.cm-s-typora-default .cm-comment {
    color: #9FB1FF;
}

.cm-s-typora-default .cm-string {
    color: #A7A7D9
}

.cm-s-typora-default .cm-atom, .cm-s-typora-default .cm-number {
    color: #848695;
    font-style: italic;
}

.cm-s-typora-default .cm-link {
    color: #95B94B;
}

.cm-s-typora-default .CodeMirror-activeline-background {
    background: rgba(51, 51, 51, 0.72);
}

.cm-s-typora-default .cm-comment, .cm-s-typora-default .cm-code {
	color: #8aa1e1;
}@import "";
@import "";
@import "";

:root {
    --bg-color:  #363B40;
    --side-bar-bg-color: #2E3033;
    --text-color: #b8bfc6;

    --select-text-bg-color:#4a89dc;

    --item-hover-bg-color: #0a0d16;
    --control-text-color: #b7b7b7;
    --control-text-hover-color: #eee;
    --window-border: 1px solid #555;

    --active-file-bg-color: rgb(34, 34, 34);
    --active-file-border-color: #8d8df0;

    --primary-color: #a3d5fe;

    --active-file-text-color: white;
    --item-hover-bg-color: #70717d;
    --item-hover-text-color: white;
    --primary-color: #6dc1e7;

    --rawblock-edit-panel-bd: #333;

    --search-select-bg-color: #428bca;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background: #363B40;
    background: var(--bg-color);
    fill: currentColor;
    line-height: 1.625rem;
}

#write {
    max-width: 914px;
}


@media only screen and (min-width: 1400px) {
	#write {
		max-width: 1024px;
	}
}

@media only screen and (min-width: 1800px) {
	#write {
		max-width: 1200px;
	}
}

html,
body,
button,
input,
select,
textarea,
div.code-tooltip-content {
    color: #b8bfc6;
    border-color: transparent;
}

div.code-tooltip,
.md-hover-tip .md-arrow:after {
    background: #333;
}

.native-window #md-notification {
    border: 1px solid #70717d;
}

.popover.bottom > .arrow:after {
    border-bottom-color: #333;
}

html,
body,
button,
input,
select,
textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif;
}

hr {
    height: 2px;
    border: 0;
    margin: 24px 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lucida Grande", "Corbel", sans-serif;
    font-weight: normal;
    clear: both;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    color: #DEDEDE
}

h1 {
    font-size: 2.5rem;
    /* 36px */
    line-height: 2.75rem;
    /* 40px */
    margin-bottom: 1.5rem;
    /* 24px */
    letter-spacing: -1.5px;
}

h2 {
    font-size: 1.63rem;
    /* 24px */
    line-height: 1.875rem;
    /* 30px */
    margin-bottom: 1.5rem;
    /* 24px */
    letter-spacing: -1px;
    font-weight: bold;
}

h3 {
    font-size: 1.17rem;
    /* 18px */
    line-height: 1.5rem;
    /* 24px */
    margin-bottom: 1.5rem;
    /* 24px */
    letter-spacing: -1px;
    font-weight: bold;
}

h4 {
    font-size: 1.12rem;
    /* 16px */
    line-height: 1.375rem;
    /* 22px */
    margin-bottom: 1.5rem;
    /* 24px */
    color: white;
}

h5 {
    font-size: 0.97rem;
    /* 16px */
    line-height: 1.25rem;
    /* 22px */
    margin-bottom: 1.5rem;
    /* 24px */
    font-weight: bold;
}

h6 {
    font-size: 0.93rem;
    /* 16px */
    line-height: 1rem;
    /* 16px */
    margin-bottom: 0.75rem;
    color: white;
}

@media (min-width: 980px) {
    h3.md-focus:before,
    h4.md-focus:before,
    h5.md-focus:before,
    h6.md-focus:before {
        color: #ddd;
        border: 1px solid #ddd;
        border-radius: 3px;
        position: absolute;
        left: -1.642857143rem;
        top: .357142857rem;
        float: left;
        font-size: 9px;
        padding-left: 2px;
        padding-right: 2px;
        vertical-align: bottom;
        font-weight: normal;
        line-height: normal;
    }

    h3.md-focus:before {
        content: 'h3';
    }

    h4.md-focus:before {
        content: 'h4';
    }

    h5.md-focus:before {
        content: 'h5';
        top: 0px;
    }

    h6.md-focus:before {
        content: 'h6';
        top: 0px;
    }
}

a {
    text-decoration: none;
    outline: 0;
}

a:hover {
    outline: 0;
}

a:focus {
    outline: thin dotted;
}

sup.md-footnote {
    background-color: #555;
    color: #ddd;
}

p {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

p,
ul,
dd,
ol,
hr,
address,
pre,
table,
iframe,
.wp-caption,
.wp-audio-shortcode,
.wp-video-shortcode {
    margin-top: 0;
    margin-bottom: 1.5rem;
    /* 24px */
}

audio:not([controls]) {
    display: none;
}

[hidden] {
    display: none;
}

::-moz-selection {
    background: #4a89dc;
    color: #fff;
    text-shadow: none;
}

*.in-text-selection,
::selection {
    background: #4a89dc;
    color: #fff;
    text-shadow: none;
}

ul,
ol {
    padding: 0 0 0 1.875rem;
    /* 30px */
}

ul {
    list-style: square;
}

ol {
    list-style: decimal;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin: 0;
}

b,
th,
dt,
strong {
    font-weight: bold;
}

i,
em,
dfn,
cite {
    font-style: italic;
}

blockquote {
    padding-left: 1.875rem;
    margin: 0 0 1.875rem 1.875rem;
    border-left: solid 2px #474d54;
    padding-left: 30px;
    margin-top: 35px;
}

pre,
code,
kbd,
tt,
var {
    font-size: 0.875em;
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

code,
tt,
var {
    background: rgba(0, 0, 0, 0.05);
}

kbd {
    padding: 2px 4px;
    font-size: 90%;
    color: #fff;
    background-color: #333;
    border-radius: 3px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
}

pre.md-fences {
    padding: 10px 10px 10px 30px;
    margin-bottom: 20px;
    background: #333;
}

.CodeMirror-gutters {
    background: #333;
    border-right: 1px solid transparent;
}

.enable-diagrams pre.md-fences[lang="sequence"] .code-tooltip,
.enable-diagrams pre.md-fences[lang="flow"] .code-tooltip,
.enable-diagrams pre.md-fences[lang="mermaid"] .code-tooltip {
    bottom: -2.2em;
    right: 4px;
}

code,
kbd,
tt,
var {
    padding: 2px 5px;
}

table {
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

th,
td {
    padding: 5px 10px;
    vertical-align: top;
}

a {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

hr {
    background: #474d54;
    /* variable */
}

h1 {
    margin-top: 2em;
}

a {
    color: #e0e0e0;
    text-decoration: underline;
}

a:hover {
    color: #fff;
}

.md-inline-math script {
    color: #81b1db;
}

b,
th,
dt,
strong {
    color: #DEDEDE;
    /* variable */
}

mark {
    background: #D3D40E;
}

blockquote {
    color: #9DA2A6;
}

table a {
    color: #DEDEDE;
    /* variable */
}

th,
td {
    border: solid 1px #474d54;
    /* variable */
}

.task-list {
    padding-left: 0;
}

.md-task-list-item {
    padding-left: 1.25rem;
}

.md-task-list-item > input {
    top: auto;
}

.md-task-list-item > input:before {
    content: "";
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    vertical-align: middle;
    text-align: center;
    border: 1px solid #b8bfc6;
    background-color: #363B40;
    margin-top: -0.4rem;
}

.md-task-list-item > input:checked:before,
.md-task-list-item > input[checked]:before {
    content: '\221A';
    /*◘*/
    font-size: 0.625rem;
    line-height: 0.625rem;
    color: #DEDEDE;
}

/** quick open **/
.auto-suggest-container {
    border: 0px;
    background-color: #525C65;
}

#typora-quick-open {
    background-color: #525C65;
}

#typora-quick-open input{
    background-color: #525C65;
    border: 0;
    border-bottom: 1px solid grey;
}

.typora-quick-open-item {
    background-color: inherit;
    color: inherit;
}

.typora-quick-open-item.active,
.typora-quick-open-item:hover {
    background-color: #4D8BDB;
    color: white;
}

.typora-quick-open-item:hover {
    background-color: rgba(77, 139, 219, 0.8);
}

.typora-search-spinner > div {
  background-color: #fff;
}

#write pre.md-meta-block {
    border-bottom: 1px dashed #ccc;
    background: transparent;
    padding-bottom: 0.6em;
    line-height: 1.6em;
}

.btn,
.btn .btn-default {
    background: transparent;
    color: #b8bfc6;
}

.ty-table-edit {
    border-top: 1px solid gray;
    background-color: #363B40;
}

.popover-title {
    background: transparent;
}

.md-image>.md-meta {
    color: #BBBBBB;
    background: transparent;
}

.md-expand.md-image>.md-meta {
    color: #DDD;
}

#write>h3:before,
#write>h4:before,
#write>h5:before,
#write>h6:before {
    border: none;
    border-radius: 0px;
    color: #888;
    text-decoration: underline;
    left: -1.4rem;
    top: 0.2rem;
}

#write>h3.md-focus:before {
    top: 2px;
}

#write>h4.md-focus:before {
    top: 2px;
}

.md-toc-item {
    color: #A8C2DC;
}

#write div.md-toc-tooltip {
    background-color: #363B40;
}

.dropdown-menu .btn:hover,
.dropdown-menu .btn:focus,
.md-toc .btn:hover,
.md-toc .btn:focus {
    color: white;
    background: black;
}

#toc-dropmenu {
    background: rgba(50, 54, 59, 0.93);
    border: 1px solid rgba(253, 253, 253, 0.15);
}

#toc-dropmenu .divider {
    background-color: #9b9b9b;
}

.outline-expander:before {
    top: 2px;
}

#typora-sidebar {
    box-shadow: none;
    border-right: 1px dashed;
    border-right: none;
}

.sidebar-tabs {
    border-bottom:0;
}

#typora-sidebar:hover .outline-title-wrapper {
    border-left: 1px dashed;
}

.outline-title-wrapper .btn {
    color: inherit;
}

.outline-item:hover {
    border-color: #363B40;
    background-color: #363B40;
    color: white;
}

h1.md-focus .md-attr,
h2.md-focus .md-attr,
h3.md-focus .md-attr,
h4.md-focus .md-attr,
h5.md-focus .md-attr,
h6.md-focus .md-attr,
.md-header-span .md-attr {
    color: #8C8E92;
    display: inline;
}

.md-comment {
    color: #5a95e3;
    opacity: 0.8;
}

.md-inline-math svg {
    color: #b8bfc6;
}

#math-inline-preview .md-arrow:after {
    background: black;
}

.modal-content {
    background: var(--bg-color);
    border: 0;
}

.modal-title {
    font-size: 1.5em;
}

.modal-content input {
    background-color: rgba(26, 21, 21, 0.51);
    color: white;
}

.modal-content .input-group-addon {
    color: white;
}

.modal-backdrop {
    background-color: rgba(174, 174, 174, 0.7);
}

.modal-content .btn-primary {
    border-color: var(--primary-color);
}

.md-table-resize-popover {
    background-color: #333;
}

.form-inline .input-group .input-group-addon {
    color: white;
}

#md-searchpanel {
    border-bottom: 1px dashed grey;
}

/** UI for electron */

.context-menu,
#spell-check-panel,
#footer-word-count-info {
    background-color: #42464A;
}

.context-menu.dropdown-menu .divider,
.dropdown-menu .divider {
    background-color: #777777;
    opacity: 1;
}

footer {
    color: inherit;
}

@media (max-width: 1000px) {
    footer {
        border-top: none;
    }
    footer:hover {
        color: inherit;
    }
}

#file-info-file-path .file-info-field-value:hover {
    background-color: #555;
    color: #dedede;
}

.megamenu-content,
.megamenu-opened header {
    background: var(--bg-color);
}

.megamenu-menu-panel h2,
.megamenu-menu-panel h1,
.long-btn {
    color: inherit;
}

.megamenu-menu-panel input[type='text'] {
    background: inherit;
    border: 0;
    border-bottom: 1px solid;
}

#recent-file-panel-action-btn {
    background: inherit;
    border: 1px grey solid;
}

.megamenu-menu-panel .dropdown-menu > li > a {
    color: inherit;
    background-color: #2F353A;
    text-decoration: none;
}

.megamenu-menu-panel table td:nth-child(1) {
    color: inherit;
    font-weight: bold;
}

.megamenu-menu-panel tbody tr:hover td:nth-child(1) {
    color: white;
}

.modal-footer .btn-default, 
.modal-footer .btn-primary,
.modal-footer .btn-default:not(:hover) {
    border: 1px solid;
    border-color: transparent;
}

.btn-primary {
    color: white;
}

.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
    color: white;
    border: 1px solid #ddd;
    background-color: inherit;
}

.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}

#recent-file-panel tbody tr:nth-child(2n-1) {
    background-color: transparent !important;
}

.megamenu-menu-panel tbody tr:hover td:nth-child(2) {
    color: inherit;
}

.megamenu-menu-panel .btn {
    border: 1px solid #eee;
    background: transparent;
}

.mouse-hover .toolbar-icon.btn:hover,
#w-full.mouse-hover,
#w-pin.mouse-hover {
    background-color: inherit;
}

.typora-node::-webkit-scrollbar {
    width: 5px;
}

.typora-node::-webkit-scrollbar-thumb:vertical {
    background: rgba(250, 250, 250, 0.3);
}

.typora-node::-webkit-scrollbar-thumb:vertical:active {
    background: rgba(250, 250, 250, 0.5);
}

#w-unpin {
    background-color: #4182c4;
}

#top-titlebar, #top-titlebar * {
    color: var(--item-hover-text-color);
}

.typora-sourceview-on #toggle-sourceview-btn,
#footer-word-count:hover,
.ty-show-word-count #footer-word-count {
    background: #333333;
}

#toggle-sourceview-btn:hover {
    color: #eee;
    background: #333333;
}

/** focus mode */
.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * {
    color: #686868 !important;
}

.on-focus-mode .md-end-block:not(.md-focus) img,
.on-focus-mode .md-task-list-item:not(.md-focus-container)>input {
    opacity: #686868 !important;
}

.on-focus-mode li[cid]:not(.md-focus-container){
    color: #686868;
}

.on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *,
.on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * {
    color: #686868 !important;
}

.on-focus-mode .md-focus,
.on-focus-mode .md-focus-container {
    color: #fff;
}

.on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * {
    color: #686868 !important;
}


/*diagrams*/
#write .md-focus .md-diagram-panel {
    border: 1px solid #ddd;
    margin-left: -1px;
    width: calc(100% + 2px);
}

/*diagrams*/
#write .md-focus.md-fences-with-lineno .md-diagram-panel {
    margin-left: auto;
}

.md-diagram-panel-error {
    color: #f1908e;
}

.active-tab-files #info-panel-tab-file,
.active-tab-files #info-panel-tab-file:hover,
.active-tab-outline #info-panel-tab-outline,
.active-tab-outline #info-panel-tab-outline:hover {
    color: #eee;
}

.sidebar-footer-item:hover,
.footer-item:hover {
    background: inherit;
    color: white;
}

.ty-side-sort-btn.active,
.ty-side-sort-btn:hover,
.selected-folder-menu-item a:after {
    color: white;
}

#sidebar-files-menu {
    border:solid 1px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.79);
    background-color: var(--bg-color);
}

.file-list-item {
    border-bottom:none;
}

.file-list-item-summary {
    opacity: 1;
}

.file-list-item.active:first-child {
    border-top: none;
}

.file-node-background {
    height: 32px;
}

.file-library-node.active>.file-node-content,
.file-list-item.active {
    color: white;
    color: var(--active-file-text-color);
}

.file-library-node.active>.file-node-background{
    background-color: rgb(34, 34, 34);
    background-color: var(--active-file-bg-color);
}
.file-list-item.active {
    background-color: rgb(34, 34, 34);
    background-color: var(--active-file-bg-color);
}

#ty-tooltip {
    background-color: black;
    color: #eee;
}

.md-task-list-item>input {
    margin-left: -1.3em;
    margin-top: 0.3rem;
    -webkit-appearance: none;
}

.md-mathjax-midline {
    background-color: #57616b;
    border-bottom: none;
}

footer.ty-footer {
    border-color: #656565;
}

.ty-preferences .btn-default {
    background: transparent;
}
.ty-preferences .btn-default:hover {
    background: #57616b;
}

.ty-preferences select {
    border: 1px solid #989698;
    height: 21px;
}

.ty-preferences .nav-group-item.active,
.export-item.active,
.export-items-list-control,
.export-detail {
    background: var(--item-hover-bg-color);
}

.ty-preferences input[type="search"] {
    border-color: #333;
    background: #333;
    line-height: 22px;
    border-radius: 6px;
    color: white;
}

.ty-preferences input[type="search"]:focus {
    box-shadow: none;
}

[data-is-directory="true"] .file-node-content {
    margin-bottom: 0;
}

.file-node-title {
    line-height: 22px;
}

.html-for-mac .file-node-open-state, .html-for-mac .file-node-icon {
    line-height: 26px;
}

::-webkit-scrollbar-thumb {
    background: rgba(230, 230, 230, 0.30);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(230, 230, 230, 0.50);
}

#typora-sidebar:hover div.sidebar-content-content::-webkit-scrollbar-thumb:horizontal {
    background: rgba(230, 230, 230, 0.30);
}

.nav-group-item:active {
    background-color: #474d54 !important;
}

.md-search-hit {
    background: rgba(199, 140, 60, 0.81);
    color: #eee;
}

.md-search-hit * {
    color: #eee;
}

#md-searchpanel input {
    color: white;
}

.modal-backdrop.in {
    opacity: 1;
    backdrop-filter: blur(1px);
}

.clear-btn-icon {
    top: 8px;
}

/* try fix https://github.com/typora/typora-issues/issues/5253 */
.file-node-expanded>.file-node-children {
    display: grid;
  }

.md-alert-text-note {
    color: rgb(47, 129, 247);
}
.md-alert-text-important {
    color: rgb(163, 113, 247);
}
.md-alert-text-warning {
    color:  rgb(210, 153, 34);
}

 @media print { @page {margin: 0 0 0 0;} body.typora-export {padding-left: 0; padding-right: 0;} #write {padding:0;}}
</style><title></title>
</head>
<body class='typora-export'><div class='typora-export-content'>
<div id='write'  class=''><h2 id='22-appendix-a-command-line-interface-22-附录-a命令行界面'><span>22. Appendix A: Command-line Interface 22. 附录 A：命令行界面</span></h2><h3 id='221-output-format-options-formatoptions-221-输出格式选项-formatoptions'><span>22.1. Output format options [FORMAT_OPTIONS] 22.1. 输出格式选项 [FORMAT_OPTIONS] </span></h3><p><span>It is possible to specify the output format using the --output-format parameter. The default format </span><em><span>text</span></em><span> uses ASCII-art to draw nice borders around tables. It additionally transforms some values into human-readable text, for example:</span>
<span>可以使用 --output-format 参数指定输出格式。默认格式</span><em><span>文本</span></em><span>使用 ASCII 艺术在表格周围绘制漂亮的边框。它还将一些值转换为人类可读的文本，例如：</span></p><ul><li><p><span>Unix epoch is displayed as ISO 8601 date string.</span>
<span>Unix 纪元显示为 ISO 8601 日期字符串。</span></p></li><li><p><span>Durations are displayed as week/day/hour/minute/second count, i.e 1d 5h.</span>
<span>持续时间显示为周/天/小时/分钟/秒计数，即 1d 5h。</span></p></li><li><p><span>Byte sizes value include units (B, KiB, MiB, GiB, TiB, PiB).</span>
<span>字节大小值包括单位（B、KiB、MiB、GiB、TiB、PiB）。</span></p></li><li><p><span>Fractions are display as percentage, i.e. 1.0 is displayed as 100%.</span>
<span>分数显示为百分比，即 1.0 显示为 100%。</span></p></li></ul><p><span>You can also completely suppress output using option --quiet.</span>
<span>您也可以使用选项 --quiet 完全抑制输出。</span></p><ul><li><p><span>--human-readable </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --human-readable </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Call output rendering functions to produce human readable text. 调用输出呈现函数以生成人类可读的文本。</span></p></li><li><p><span>--noborder </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --noborder </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not draw borders (for </span><em><span>text</span></em><span> format). 不要绘制边框（对于</span><em><span>文本</span></em><span>格式）。</span></p></li><li><p><span>--noheader </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --noheader </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not show column headers (for </span><em><span>text</span></em><span> format). 不显示列标题（对于</span><em><span>文本</span></em><span>格式）。</span></p></li><li><p><span>--output-format &lt;json | json-pretty | text | yaml&gt; (</span><em><span>default =</span></em><span> text) --output-format &lt;json | json-pretty | text | yaml&gt; （</span><em><span>默认值 =</span></em><span> 文本）</span></p><p><span>Output format. 输出格式。</span></p></li><li><p><span>--quiet </span><boolean></p><p><span>Suppress printing results. 禁止显示打印结果。</span></p></li></ul><h3 id='222-pvesm---proxmox-ve-storage-manager-222-pvesm---proxmox-ve存储管理器'><span>22.2. </span><strong><span>pvesm</span></strong><span> - Proxmox VE Storage Manager 22.2. </span><strong><span>pvesm</span></strong><span> - Proxmox VE存储管理器 </span></h3><p><strong><span>pvesm</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>pvesm</span></strong><span> </span><COMMAND><span> [参数] [选项]</span></p><p><strong><span>pvesm add</span></strong><span> </span><type><span> </span><storage><span> [OPTIONS]</span>
<strong><span>pvesm 添加</span></strong><span> </span><type><span> </span><storage><span> [选项]</span></p><p><span>Create a new storage. 创建新存储。</span></p><ul><li><p><type><span>: &lt;btrfs | cephfs | cifs | dir | esxi | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | pbs | rbd | zfs | zfspool&gt; </span><type><span>： &lt;btrfs | cephfs | cifs | dir | esxi | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | pbs | rbd | zfs | zfspool&gt;</span></p><p><span>Storage type. 存储类型。</span></p></li><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li><li><p><span>--authsupported </span><string></p><p><span>Authsupported. Authsupported。</span></p></li><li><p><span>--base </span><string></p><p><span>Base volume. This volume is automatically activated. 基本体积。此卷将自动激活。</span></p></li><li><p><span>--blocksize </span><string></p><p><span>block size 块大小</span></p></li><li><p><span>--bwlimit [clone=</span><LIMIT><span>] [,default=</span><LIMIT><span>] [,migration=</span><LIMIT><span>] [,move=</span><LIMIT><span>] [,restore=</span><LIMIT><span>] --bwlimit [clone=</span><LIMIT><span>] [，default=</span><LIMIT><span>] [，migration=</span><LIMIT><span>] [，move=</span><LIMIT><span>] [，restore=</span><LIMIT><span>]</span></p><p><span>Set I/O bandwidth limit for various operations (in KiB/s). 为各种操作设置I/O带宽限制（单位为KiB/s）。</span></p></li><li><p><span>--comstar_hg </span><string></p><p><span>host group for comstar views Comstar 视图的主机组</span></p></li><li><p><span>--comstar_tg </span><string></p><p><span>target group for comstar views Comstar Views 的目标群体</span></p></li><li><p><span>--content </span><string></p><p><span>Allowed content types. 允许的内容类型。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44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7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>the value </span><em><span>rootdir</span></em><span> is used for Containers, and value </span><em><span>images</span></em><span> for VMs. 值 </span><em><span>rootdir</span></em><span> 用于容器，值 </span><em><span>images</span></em><span> 用于 VM。</span></p></li><li><p><span>--content-dirs </span><string></p><p><span>Overrides for default content type directories. 替代默认内容类型目录。</span></p></li><li><p><span>--create-base-path </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --create-base-path </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Create the base directory if it doesn’t exist. 如果基目录不存在，请创建该目录。</span></p></li><li><p><span>--create-subdirs </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --create-subdirs </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Populate the directory with the default structure. 使用默认结构填充目录。</span></p></li><li><p><span>--data-pool </span><string></p><p><span>Data Pool (for erasure coding only) 数据池（仅用于纠删码）</span></p></li><li><p><span>--datastore </span><string><span> --数据存储 </span><string></p><p><span>Proxmox Backup Server datastore name. Proxmox 备份服务器数据存储名称。</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable the storage. 用于禁用存储的标志。</span></p></li><li><p><span>--domain </span><string></p><p><span>CIFS domain. CIFS 域。</span></p></li><li><p><span>--encryption-key a file containing an encryption key, or the special value &quot;autogen&quot; --encryption-key 包含加密密钥的文件，或特殊值“autogen”</span></p><p><span>Encryption key. Use </span><em><span>autogen</span></em><span> to generate one automatically without passphrase. 加密密钥。使用 </span><em><span>autogen</span></em><span> 自动生成一个，无需密码。</span></p></li><li><p><span>--export </span><string></p><p><span>NFS export path. NFS 导出路径。</span></p></li><li><p><span>--fingerprint ([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2} -- 指纹（A-F0-9]{2}:){31}[A-F-F0-9]{2}</span></p><p><span>Certificate SHA 256 fingerprint. 证书 SHA 256 指纹。</span></p></li><li><p><span>--format </span><string></p><p><span>Default image format. 默认图像格式。</span></p></li><li><p><span>--fs-name </span><string></p><p><span>The Ceph filesystem name. Ceph 文件系统名称。</span></p></li><li><p><span>--fuse </span><boolean></p><p><span>Mount CephFS through FUSE. 通过 FUSE 挂载 CephFS。</span></p></li><li><p><span>--is_mountpoint </span><string><span> (</span><em><span>default =</span></em><span> no) --is_mountpoint </span><string><span>（</span><em><span>默认值 =</span></em><span> 否）</span></p><p><span>Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field. 假设给定路径是外部管理的挂载点，如果未挂载存储，则将其视为脱机。使用布尔值 （yes/no） 可作为在此字段中使用目标路径的快捷方式。</span></p></li><li><p><span>--iscsiprovider </span><string></p><p><span>iscsi provider iSCSI 提供程序</span></p></li><li><p><span>--keyring file containing the keyring to authenticate in the Ceph cluster --keyring 文件，其中包含要在 Ceph 集群中进行身份验证的密钥环</span></p><p><span>Client keyring contents (for external clusters). 客户机密钥环内容（用于外部集群）。</span></p></li><li><p><span>--krbd </span><boolean></p><p><span>Always access rbd through krbd kernel module. 始终通过 krbd 内核模块访问 rbd。</span></p></li><li><p><span>--lio_tpg </span><string></p><p><span>target portal group for Linux LIO targets Linux LIO 目标的目标门户组</span></p></li><li><p><span>--master-pubkey a file containing a PEM-formatted master public key --master-pubkey，包含 PEM 格式的主公钥的文件</span></p><p><span>Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup. Base64 编码、PEM 格式的公有 RSA 密钥。用于加密密钥的副本，该副本将被添加到每个加密备份中。</span></p></li><li><p><span>--max-protected-backups </span><integer><span> (-1 - N) (</span><em><span>default =</span></em><span> Unlimited for users with Datastore.Allocate privilege, 5 for other users) --max-protected-backups </span><integer><span> （-1 - N） （</span><em><span>默认值 =</span></em><span> 具有 Datastore.Allocate 权限的用户为无限制，其他用户为 5）</span></p><p><span>Maximal number of protected backups per guest. Use </span><em><span>-1</span></em><span> for unlimited. 每个客户机的最大受保护备份数。使用 </span><em><span>-1</span></em><span> 表示无限制。</span></p></li><li><p><span>--maxfiles </span><integer><span> (0 - N) --maxfiles </span><integer><span> （0 - N）</span></p><p><span>Deprecated: use </span><em><span>prune-backups</span></em><span> instead. Maximal number of backup files per VM. Use </span><em><span>0</span></em><span> for unlimited. 已弃用：请改用 </span><em><span>prune-backups</span></em><span>。每个 VM 的最大备份文件数。使用 </span><em><span>0</span></em><span> 表示无限制。</span></p></li><li><p><span>--mkdir </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --mkdir </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Create the directory if it doesn’t exist and populate it with default sub-dirs. NOTE: Deprecated, use the </span><em><span>create-base-path</span></em><span> and </span><em><span>create-subdirs</span></em><span> options instead. 如果目录不存在，请创建该目录，并使用默认子目录填充该目录。注意：已弃用，请改用 </span><em><span>create-base-path</span></em><span> 和 </span><em><span>create-subdirs</span></em><span> 选项。</span></p></li><li><p><span>--monhost </span><string></p><p><span>IP addresses of monitors (for external clusters). 监视器的 IP 地址（用于外部集群）。</span></p></li><li><p><span>--mountpoint </span><string><span> --挂载点 </span><string></p><p><span>mount point 挂载点</span></p></li><li><p><span>--namespace </span><string></p><p><span>Namespace.</span></p></li><li><p><span>--nocow </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --nocow </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system. 在文件上设置 NOCOW 标志。禁用数据校验和，并导致数据错误无法恢复，同时允许直接 I/O。仅当数据不需要比在没有底层 RAID 系统的单个 ext4 格式化磁盘上更安全时才使用此。</span></p></li><li><p><span>--nodes </span><string></p><p><span>List of nodes for which the storage configuration applies. 应用存储配置的节点列表。</span></p></li><li><p><span>--nowritecache </span><boolean></p><p><span>disable write caching on the target 在目标上禁用写入缓存</span></p></li><li><p><span>--options </span><string></p><p><span>NFS/CIFS mount options (see </span><em><span>man nfs</span></em><span> or </span><em><span>man mount.cifs</span></em><span>) NFS/CIFS 挂载选项（请参见 </span><em><span>man nfs</span></em><span> 或 </span><em><span>man mount.cifs</span></em><span>）</span></p></li><li><p><span>--password </span><password><span> --密码 &lt;密码&gt;</span></p><p><span>Password for accessing the share/datastore. 用于访问共享/数据存储的密码。</span></p></li><li><p><span>--path </span><string></p><p><span>File system path. 文件系统路径。</span></p></li><li><p><span>--pool </span><string></p><p><span>Pool. 池。</span></p></li><li><p><span>--port </span><integer><span> (1 - 65535) --端口 </span><integer><span> （1 - 65535）</span></p><p><span>For non default port. 对于非默认端口。</span></p></li><li><p><span>--portal </span><string></p><p><span>iSCSI portal (IP or DNS name with optional port). iSCSI 门户（IP 或 DNS 名称，带可选端口）。</span></p></li><li><p><span>--preallocation &lt;falloc | full | metadata | off&gt; (</span><em><span>default =</span></em><span> metadata) --preallocation &lt;falloc | full | metadata | off&gt;（</span><em><span>默认值 =</span></em><span> 元数据）</span></p><p><span>Preallocation mode for raw and qcow2 images. Using </span><em><span>metadata</span></em><span> on raw images results in preallocation=off. raw 和 qcow2 图像的预分配模式。在原始图像上使用</span><em><span>元数据</span></em><span>会导致 preallocation=off。</span></p></li><li><p><span>--prune-backups [keep-all=&lt;1|0&gt;] [,keep-daily=</span><N><span>] [,keep-hourly=</span><N><span>] [,keep-last=</span><N><span>] [,keep-monthly=</span><N><span>] [,keep-weekly=</span><N><span>] [,keep-yearly=</span><N><span>] --prune-backups [keep-all=&lt;1|0&gt;] [，keep-daily=</span><N><span>] [，keep-hourly=</span><N><span>] [，keep-last=</span><N><span>] [，keep-monthly=</span><N><span>] [，keep-weekly=</span><N><span>] [，keep-yearly=</span><N><span>]</span></p><p><span>The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups. 首先处理间隔较短的保留选项，其中 --keep-last 是第一个。每个选项都涵盖特定的时间段。我们说，此选项涵盖此时间段内的备份。下一个选项不处理已覆盖的备份，而只考虑较旧的备份。</span></p></li><li><p><span>--saferemove </span><boolean></p><p><span>Zero-out data when removing LVs. 删除 LV 时将数据清零。</span></p></li><li><p><span>--saferemove_throughput </span><string></p><p><span>Wipe throughput (cstream -t parameter value). 擦除吞吐量（cstream -t 参数值）。</span></p></li><li><p><span>--server </span><string><span> --服务器 </span><string></p><p><span>Server IP or DNS name. 服务器 IP 或 DNS 名称。</span></p></li><li><p><span>--server2 </span><string></p><p><span>Backup volfile server IP or DNS name. 备份 volfile 服务器 IP 或 DNS 名称。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzIyOakkfF4QEpPG6nDRNNEA2FSgKimETS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IE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): server 需要选项： server</span></p></li><li><p><span>--share </span><string></p><p><span>CIFS share. CIFS 共享。</span></p></li><li><p><span>--shared </span><boolean></p><p><span>Indicate that this is a single storage with the same contents on all nodes (or all listed in the </span><em><span>nodes</span></em><span> option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such! 指示这是在所有节点（或</span><em><span>节点</span></em><span>选项中列出的所有节点）上具有相同内容的单个存储。它不会使本地存储的内容自动被其他节点访问，它只是将已经共享的存储标记为这样！</span></p></li><li><p><span>--skip-cert-verification </span><boolean><span> (</span><em><span>default =</span></em><span> false) --skip-cert-verification </span><boolean><span>（</span><em><span>默认值 =</span></em><span> false）</span></p><p><span>Disable TLS certificate verification, only enable on fully trusted networks! 禁用 TLS 证书验证，仅在完全受信任的网络上启用！</span></p></li><li><p><span>--smbversion &lt;2.0 | 2.1 | 3 | 3.0 | 3.11 | default&gt; (</span><em><span>default =</span></em><span> default) --smbversion &lt;2.0 | 2.1 | 3 | 3.0 | 3.11 | default&gt;（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>SMB protocol version. </span><em><span>default</span></em><span> if not set, negotiates the highest SMB2+ version supported by both the client and server. SMB 协议版本。</span><em><span>默认值</span></em><span> 如果未设置，则协商客户端和服务器支持的最高 SMB2+ 版本。</span></p></li><li><p><span>--sparse </span><boolean><span> --稀疏 </span><boolean></p><p><span>use sparse volumes 使用稀疏卷</span></p></li><li><p><span>--subdir </span><string></p><p><span>Subdir to mount. 要挂载的子目录。</span></p></li><li><p><span>--tagged_only </span><boolean></p><p><span>Only use logical volumes tagged with </span><em><span>pve-vm-ID</span></em><span>. 仅使用标记为 </span><em><span>pve-vm-ID</span></em><span> 的逻辑卷。</span></p></li><li><p><span>--target </span><string></p><p><span>iSCSI target. iSCSI 目标。</span></p></li><li><p><span>--thinpool </span><string></p><p><span>LVM thin pool LV name. LVM 瘦池 LV 名称。</span></p></li><li><p><span>--transport &lt;rdma | tcp | unix&gt;</span></p><p><span>Gluster transport: tcp or rdma Gluster 传输：tcp 或 rdma</span></p></li><li><p><span>--username </span><string><span> --用户名 </span><string></p><p><span>RBD Id. RBD 同上。</span></p></li><li><p><span>--vgname </span><string></p><p><span>Volume group name. 卷组名称。</span></p></li><li><p><span>--volume </span><string></p><p><span>Glusterfs Volume. Glusterfs 音量。</span></p></li></ul><p><strong><span>pvesm alloc</span></strong><span> </span><storage><span> </span><vmid><span> </span><filename><span> </span><size><span> [OPTIONS]</span>
<strong><span>pvesm alloc</span></strong><span> </span><storage><span> </span><vmid><span> </span><filename><span> </span><size><span> [选项]</span></p><p><span>Allocate disk images. 分配磁盘映像。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>Specify owner VM 指定所有者 VM</span></p></li><li><p><filename><span>: </span><string><span> &lt;文件名&gt;： </span><string></p><p><span>The name of the file to create. 要创建的文件的名称。</span></p></li><li><p><size><span>: \d+[MG]? </span><size><span>： \d+[MG]？</span></p><p><span>Size in kilobyte (1024 bytes). Optional suffixes </span><em><span>M</span></em><span> (megabyte, 1024K) and </span><em><span>G</span></em><span> (gigabyte, 1024M) 大小（以千字节为单位，1024 字节）。可选后缀 </span><em><span>M</span></em><span>（兆字节，1024K）和 </span><em><span>G</span></em><span>（千兆字节，1024M）</span></p></li><li><p><span>--format &lt;qcow2 | raw | subvol&gt;</span></p><p><span>no description available 没有可用的描述</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzIyOakkfF4QEpPG6n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ogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): size 需要选项： size</span></p></li></ul><p><strong><span>pvesm apiinfo</span></strong></p><p><span>Returns APIVER and APIAGE.</span>
<span>返回 APIVER 和 APIAGE。</span></p><p><strong><span>pvesm cifsscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan cifs</span></em><span>.</span>
<em><span>pvesm scan cif</span></em><span> 的别名。</span></p><p><strong><span>pvesm export</span></strong><span> </span><volume><span> </span><format><span> </span><filename><span> [OPTIONS]</span>
<strong><span>pvesm 导出</span></strong><span> </span><volume><span> </span><format><span> </span><filename><span> [选项]</span></p><p><span>Used internally to export a volume.</span>
<span>在内部用于导出卷。</span></p><ul><li><p><volume><span>: </span><string><span> </span><volume><span>： </span><string></p><p><span>Volume identifier 卷标识符</span></p></li><li><p><format><span>: &lt;btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs&gt; </span><format><span>： &lt;btrfs | qcow2+大小 | raw+大小 | tar+大小 | vmdk+大小 | zfs&gt;</span></p><p><span>Export stream format 导出流格式</span></p></li><li><p><filename><span>: </span><string><span> &lt;文件名&gt;： </span><string></p><p><span>Destination file name 目标文件名</span></p></li><li><p><span>--base (?^i:[a-z0-9</span><em><span>-</span><span>]{1,40}) --基地 （？^i：[a-z0-9</span></em><span>-</span><span>]{1,40}）</span></p><p><span>Snapshot to start an incremental stream from 用于从中启动增量流的快照</span></p></li><li><p><span>--snapshot (?^i:[a-z0-9</span><em><span>-</span><span>]{1,40}) --快照 （？^i：[a-z0-9</span></em><span>-</span><span>]{1,40}）</span></p><p><span>Snapshot to export 要导出的快照</span></p></li><li><p><span>--snapshot-list </span><string><span> --快照列表 </span><string></p><p><span>Ordered list of snapshots to transfer 要传输的快照的有序列表</span></p></li><li><p><span>--with-snapshots </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --with-snapshots </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Whether to include intermediate snapshots in the stream 是否在流中包含中间快照</span></p></li></ul><p><strong><span>pvesm extractconfig</span></strong><span> </span><volume></p><p><span>Extract configuration from vzdump backup archive.</span>
<span>从 vzdump 备份存档中提取配置。</span></p><ul><li><p><volume><span>: </span><string><span> </span><volume><span>： </span><string></p><p><span>Volume identifier 卷标识符</span></p></li></ul><p><strong><span>pvesm free</span></strong><span> </span><volume><span> [OPTIONS]</span>
<strong><span>pvesm free</span></strong><span> </span><volume><span> [选项]</span></p><p><span>Delete volume 删除卷</span></p><ul><li><p><volume><span>: </span><string><span> </span><volume><span>： </span><string></p><p><span>Volume identifier 卷标识符</span></p></li><li><p><span>--delay </span><integer><span> (1 - 30) --延迟 </span><integer><span> （1 - 30）</span></p><p><span>Time to wait for the task to finish. We return </span><em><span>null</span></em><span> if the task finish within that time. 等待任务完成的时间。如果任务在该时间内完成，我们将返回 </span><em><span>null</span></em><span>。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li></ul><p><strong><span>pvesm glusterfsscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan glusterfs</span></em><span>.</span>
<em><span>pvesm scan glusterfs</span></em><span> 的别名。</span></p><p><strong><span>pvesm help</span></strong><span> [OPTIONS]</span>
<strong><span>pvesm 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvesm import</span></strong><span> </span><volume><span> </span><format><span> </span><filename><span> [OPTIONS]</span>
<strong><span>pvesm import</span></strong><span> </span><volume><span> </span><format><span> </span><filename><span> [选项]</span></p><p><span>Used internally to import a volume.</span>
<span>在内部用于导入卷。</span></p><ul><li><p><volume><span>: </span><string><span> </span><volume><span>： </span><string></p><p><span>Volume identifier 卷标识符</span></p></li><li><p><format><span>: &lt;btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs&gt; </span><format><span>： &lt;btrfs | qcow2+大小 | raw+大小 | tar+大小 | vmdk+大小 | zfs&gt;</span></p><p><span>Import stream format 导入流格式</span></p></li><li><p><filename><span>: </span><string><span> &lt;文件名&gt;： </span><string></p><p><span>Source file name. For </span><em><span>-</span></em><span> stdin is used, the tcp://</span><IP-or-CIDR><span> format allows to use a TCP connection, the unix://PATH-TO-SOCKET format a UNIX socket as input.Else, the file is treated as common file. 源文件名。对于 </span><em><span>-</span></em><span> stdin，tcp:// 格式允许使用 TCP 连接，unix://PATH-TO-SOCKET 格式化 UNIX 套接字作为输入。否则，该文件将被视为普通文件。</span></p></li><li><p><span>--allow-rename </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --allow-rename </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Choose a new volume ID if the requested volume ID already exists, instead of throwing an error. 如果请求的卷 ID 已存在，请选择新的卷 ID，而不是引发错误。</span></p></li><li><p><span>--base (?^i:[a-z0-9</span><em><span>-</span><span>]{1,40}) --基地 （？^i：[a-z0-9</span></em><span>-</span><span>]{1,40}）</span></p><p><span>Base snapshot of an incremental stream 增量流的基础快照</span></p></li><li><p><span>--delete-snapshot (?^i:[a-z0-9</span><em><span>-</span><span>]{1,80}) --delete-snapshot （？^i：[a-z0-9</span></em><span>-</span><span>]{1,80}）</span></p><p><span>A snapshot to delete on success 成功时要删除的快照</span></p></li><li><p><span>--snapshot (?^i:[a-z0-9</span><em><span>-</span><span>]{1,40}) --快照 （？^i：[a-z0-9</span></em><span>-</span><span>]{1,40}）</span></p><p><span>The current-state snapshot if the stream contains snapshots 如果流包含快照，则为当前状态快照</span></p></li><li><p><span>--with-snapshots </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --with-snapshots </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Whether the stream includes intermediate snapshots 流是否包含中间快照</span></p></li></ul><p><strong><span>pvesm iscsiscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan iscsi</span></em><span>.</span>
<em><span>pvesm scan iscsi</span></em><span> 的别名。</span></p><p><strong><span>pvesm list</span></strong><span> </span><storage><span> [OPTIONS]</span>
<strong><span>pvesm list</span></strong><span> </span><storage><span> [选项]</span></p><p><span>List storage content. 列出存储内容。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li><li><p><span>--content </span><string></p><p><span>Only list content of this type. 仅列出此类型的内容。</span></p></li><li><p><span>--vmid </span><integer><span> (100 - 999999999) --vmid </span><integer><span> （100 - 999999999）</span></p><p><span>Only list images for this VM 仅列出此 VM 的映像</span></p></li></ul><p><strong><span>pvesm lvmscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan lvm</span></em><span>.</span>
<em><span>pvesm scan lvm</span></em><span> 的别名。</span></p><p><strong><span>pvesm lvmthinscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan lvmthin</span></em><span>.</span>
<em><span>pvesm scan lvmthin</span></em><span> 的别名。</span></p><p><strong><span>pvesm nfsscan PVESM NFSSScan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan nfs</span></em><span>.</span>
<em><span>pvesm scan nfs</span></em><span> 的别名。</span></p><p><strong><span>pvesm path</span></strong><span> </span><volume>
<strong><span>pvesm 路径</span></strong><span> </span><volume></p><p><span>Get filesystem path for specified volume</span>
<span>获取指定卷的文件系统路径</span></p><ul><li><p><volume><span>: </span><string><span> </span><volume><span>： </span><string></p><p><span>Volume identifier 卷标识符</span></p></li></ul><p><strong><span>pvesm prune-backups</span></strong><span> </span><storage><span> [OPTIONS]</span>
<strong><span>pvesm prune-backups</span></strong><span> </span><storage><span> [选项]</span></p><p><span>Prune backups. Only those using the standard naming scheme are considered. If no keep options are specified, those from the storage configuration are used.</span>
<span>修剪备份。仅考虑使用标准命名方案的那些。如果未指定 keep 选项，则使用存储配置中的选项。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li><li><p><span>--dry-run </span><boolean></p><p><span>Only show what would be pruned, don’t delete anything. 只显示要修剪的内容，不要删除任何内容。</span></p></li><li><p><span>--keep-all </span><boolean></p><p><span>Keep all backups. Conflicts with the other options when true. 保留所有备份。如果为 true，则与其他选项冲突。</span></p></li><li><p><span>--keep-daily </span><N></p><p><span>Keep backups for the last </span><N><span> different days. If there is morethan one backup for a single day, only the latest one is kept. 保留最近不同日期的备份。如果一天有多个备份，则仅保留最新的备份。</span></p></li><li><p><span>--keep-hourly </span><N></p><p><span>Keep backups for the last </span><N><span> different hours. If there is morethan one backup for a single hour, only the latest one is kept. 保留最近不同小时的备份。如果一小时内有多个备份，则仅保留最新的备份。</span></p></li><li><p><span>--keep-last </span><N></p><p><span>Keep the last </span><N><span> backups. 保留最后的备份。</span></p></li><li><p><span>--keep-monthly </span><N></p><p><span>Keep backups for the last </span><N><span> different months. If there is morethan one backup for a single month, only the latest one is kept. 保留最近不同月份的备份。如果一个月有多个备份，则仅保留最新的备份。</span></p></li><li><p><span>--keep-weekly </span><N></p><p><span>Keep backups for the last </span><N><span> different weeks. If there is morethan one backup for a single week, only the latest one is kept. 保留过去不同周的备份。如果一周内有多个备份，则仅保留最新的备份。</span></p></li><li><p><span>--keep-yearly </span><N></p><p><span>Keep backups for the last </span><N><span> different years. If there is morethan one backup for a single year, only the latest one is kept. 保留过去不同年份的备份。如果一年内有多个备份，则仅保留最新的备份。</span></p></li><li><p><span>--type &lt;lxc | qemu&gt;</span></p><p><span>Either </span><em><span>qemu</span></em><span> or </span><em><span>lxc</span></em><span>. Only consider backups for guests of this type. </span><em><span>qemu</span></em><span> 或 </span><em><span>lxc</span></em><span>。仅考虑此类型的来宾的备份。</span></p></li><li><p><span>--vmid </span><integer><span> (100 - 999999999) --vmid </span><integer><span> （100 - 999999999）</span></p><p><span>Only consider backups for this guest. 仅考虑此客户机的备份。</span></p></li></ul><p><strong><span>pvesm remove</span></strong><span> </span><storage>
<strong><span>pvesm 删除</span></strong><span> &lt;存储&gt;</span></p><p><span>Delete storage configuration.</span>
<span>删除存储配置。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li></ul><p><strong><span>pvesm scan cifs</span></strong><span> </span><server><span> [OPTIONS]</span>
<strong><span>pvesm 扫描 cifs</span></strong><span> </span><server><span> [选项]</span></p><p><span>Scan remote CIFS server. 扫描远程 CIFS 服务器。</span></p><ul><li><p><server><span>: </span><string><span> </span><server><span>： </span><string></p><p><span>The server address (name or IP). 服务器地址（名称或 IP）。</span></p></li><li><p><span>--domain </span><string></p><p><span>SMB domain (Workgroup). SMB 域（工作组）。</span></p></li><li><p><span>--password </span><password><span> --密码 &lt;密码&gt;</span></p><p><span>User password. 用户密码。</span></p></li><li><p><span>--username </span><string><span> --用户名 </span><string></p><p><span>User name. 用户名。</span></p></li></ul><p><strong><span>pvesm scan glusterfs</span></strong><span> </span><server>
<strong><span>pvesm 扫描 glusterfs</span></strong><span> </span><server></p><p><span>Scan remote GlusterFS server.</span>
<span>扫描远程 GlusterFS 服务器。</span></p><ul><li><p><server><span>: </span><string><span> </span><server><span>： </span><string></p><p><span>The server address (name or IP). 服务器地址（名称或 IP）。</span></p></li></ul><p><strong><span>pvesm scan iscsi</span></strong><span> </span><portal>
<strong><span>pvesm 扫描 iscsi</span></strong><span> </span><portal></p><p><span>Scan remote iSCSI server.</span>
<span>扫描远程 iSCSI 服务器。</span></p><ul><li><p><portal><span>: </span><string><span> </span><portal><span>： </span><string></p><p><span>The iSCSI portal (IP or DNS name with optional port). iSCSI 门户（带有可选端口的 IP 或 DNS 名称）。</span></p></li></ul><p><strong><span>pvesm scan lvm PVESM 扫描 LVM</span></strong></p><p><span>List local LVM volume groups.</span>
<span>列出本地 LVM 卷组。</span></p><p><strong><span>pvesm scan lvmthin</span></strong><span> </span><vg>
<strong><span>pvesm 扫描 lvmthin</span></strong><span> </span><vg></p><p><span>List local LVM Thin Pools.</span>
<span>列出本地 LVM 精简池。</span></p><ul><li><p><vg><span>: </span>[<span>a-zA-Z0-9</span><span>.</span><span>+</span><span>_</span>][a-zA-Z0-9\.\+\_\-]<span>+ </span><vg><span>： </span>[<span>a-zA-Z0-9</span><span>.</span><span>+</span><span>_</span>][a-zA-Z0-9\.\+\_\-]<span>+</span></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pvesm scan nfs</span></strong><span> </span><server>
<strong><span>pvesm 扫描 nfs</span></strong><span> </span><server></p><p><span>Scan remote NFS server. 扫描远程 NFS 服务器。</span></p><ul><li><p><server><span>: </span><string><span> </span><server><span>： </span><string></p><p><span>The server address (name or IP). 服务器地址（名称或 IP）。</span></p></li></ul><p><strong><span>pvesm scan pbs</span></strong><span> </span><server><span> </span><username><span> --password </span><string><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesm 扫描 pbs</span></strong><span> </span><server><span> </span><username><span> --password </span><string><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Scan remote Proxmox Backup Server.</span>
<span>扫描远程Proxmox备份服务器。</span></p><ul><li><p><server><span>: </span><string><span> </span><server><span>： </span><string></p><p><span>The server address (name or IP). 服务器地址（名称或 IP）。</span></p></li><li><p><username><span>: </span><string><span> &lt;用户名&gt;： </span><string></p><p><span>User-name or API token-ID. 用户名或 API 令牌 ID。</span></p></li><li><p><span>--fingerprint ([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2} -- 指纹（A-F0-9]{2}:){31} [A-F-F0-9]{2}</span></p><p><span>Certificate SHA 256 fingerprint. 证书 SHA 256 指纹。</span></p></li><li><p><span>--password </span><string><span> --密码 </span><string></p><p><span>User password or API token secret. 用户密码或 API 令牌密钥。</span></p></li><li><p><span>--port </span><integer><span> (1 - 65535) (</span><em><span>default =</span></em><span> 8007) --port </span><integer><span> （1 - 65535） （</span><em><span>默认值 =</span></em><span> 8007）</span></p><p><span>Optional port. 可选端口。</span></p></li></ul><p><strong><span>pvesm scan zfs PVESM 扫描 ZFS</span></strong></p><p><span>Scan zfs pool list on local node.</span>
<span>在本地节点上扫描 zfs 池列表。</span></p><p><strong><span>pvesm set</span></strong><span> </span><storage><span> [OPTIONS]</span>
<strong><span>pvesm set</span></strong><span> </span><storage><span> [选项]</span></p><p><span>Update storage configuration.</span>
<span>更新存储配置。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage identifier. 存储标识符。</span></p></li><li><p><span>--blocksize </span><string></p><p><span>block size 块大小</span></p></li><li><p><span>--bwlimit [clone=</span><LIMIT><span>] [,default=</span><LIMIT><span>] [,migration=</span><LIMIT><span>] [,move=</span><LIMIT><span>] [,restore=</span><LIMIT><span>] --bwlimit [clone=</span><LIMIT><span>] [，default=</span><LIMIT><span>] [，migration=</span><LIMIT><span>] [，move=</span><LIMIT><span>] [，restore=</span><LIMIT><span>]</span></p><p><span>Set I/O bandwidth limit for various operations (in KiB/s). 为各种操作设置I/O带宽限制（单位为KiB/s）。</span></p></li><li><p><span>--comstar_hg </span><string></p><p><span>host group for comstar views Comstar 视图的主机组</span></p></li><li><p><span>--comstar_tg </span><string></p><p><span>target group for comstar views Comstar Views 的目标群体</span></p></li><li><p><span>--content </span><string></p><p><span>Allowed content types. 允许的内容类型。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzIyOakkfF4QEpPG6nDRNNEA2FSgKimETSNCXPc0II57VpXhEolUqoOrxPSLOMT330Dv5SqfKD%0ANR388Y2L+caQ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/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>the value </span><em><span>rootdir</span></em><span> is used for Containers, and value </span><em><span>images</span></em><span> for VMs. 值 </span><em><span>rootdir</span></em><span> 用于容器，值 </span><em><span>images</span></em><span> 用于 VM。</span></p></li><li><p><span>--content-dirs </span><string></p><p><span>Overrides for default content type directories. 替代默认内容类型目录。</span></p></li><li><p><span>--create-base-path </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --create-base-path </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Create the base directory if it doesn’t exist. 如果基目录不存在，请创建该目录。</span></p></li><li><p><span>--create-subdirs </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --create-subdirs </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Populate the directory with the default structure. 使用默认结构填充目录。</span></p></li><li><p><span>--data-pool </span><string></p><p><span>Data Pool (for erasure coding only) 数据池（仅用于纠删码）</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable the storage. 用于禁用存储的标志。</span></p></li><li><p><span>--domain </span><string></p><p><span>CIFS domain. CIFS 域。</span></p></li><li><p><span>--encryption-key a file containing an encryption key, or the special value &quot;autogen&quot; --encryption-key 包含加密密钥的文件，或特殊值“autogen”</span></p><p><span>Encryption key. Use </span><em><span>autogen</span></em><span> to generate one automatically without passphrase. 加密密钥。使用 </span><em><span>autogen</span></em><span> 自动生成一个，无需密码。</span></p></li><li><p><span>--fingerprint ([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2} -- 指纹（A-F0-9]{2}:){31}[A-F-F0-9]{2}</span></p><p><span>Certificate SHA 256 fingerprint. 证书 SHA 256 指纹。</span></p></li><li><p><span>--format </span><string></p><p><span>Default image format. 默认图像格式。</span></p></li><li><p><span>--fs-name </span><string></p><p><span>The Ceph filesystem name. Ceph 文件系统名称。</span></p></li><li><p><span>--fuse </span><boolean></p><p><span>Mount CephFS through FUSE. 通过 FUSE 挂载 CephFS。</span></p></li><li><p><span>--is_mountpoint </span><string><span> (</span><em><span>default =</span></em><span> no) --is_mountpoint </span><string><span>（</span><em><span>默认值 =</span></em><span> 否）</span></p><p><span>Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field. 假设给定路径是外部管理的挂载点，如果未挂载存储，则将其视为脱机。使用布尔值 （yes/no） 可作为在此字段中使用目标路径的快捷方式。</span></p></li><li><p><span>--keyring file containing the keyring to authenticate in the Ceph cluster --keyring 文件，其中包含要在 Ceph 集群中进行身份验证的密钥环</span></p><p><span>Client keyring contents (for external clusters). 客户机密钥环内容（用于外部集群）。</span></p></li><li><p><span>--krbd </span><boolean></p><p><span>Always access rbd through krbd kernel module. 始终通过 krbd 内核模块访问 rbd。</span></p></li><li><p><span>--lio_tpg </span><string></p><p><span>target portal group for Linux LIO targets Linux LIO 目标的目标门户组</span></p></li><li><p><span>--master-pubkey a file containing a PEM-formatted master public key --master-pubkey，包含 PEM 格式的主公钥的文件</span></p><p><span>Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup. Base64 编码、PEM 格式的公有 RSA 密钥。用于加密密钥的副本，该副本将被添加到每个加密备份中。</span></p></li><li><p><span>--max-protected-backups </span><integer><span> (-1 - N) (</span><em><span>default =</span></em><span> Unlimited for users with Datastore.Allocate privilege, 5 for other users) --max-protected-backups </span><integer><span> （-1 - N） （</span><em><span>默认值 =</span></em><span> 具有 Datastore.Allocate 权限的用户为无限制，其他用户为 5）</span></p><p><span>Maximal number of protected backups per guest. Use </span><em><span>-1</span></em><span> for unlimited. 每个客户机的最大受保护备份数。使用 </span><em><span>-1</span></em><span> 表示无限制。</span></p></li><li><p><span>--maxfiles </span><integer><span> (0 - N) --maxfiles </span><integer><span> （0 - N）</span></p><p><span>Deprecated: use </span><em><span>prune-backups</span></em><span> instead. Maximal number of backup files per VM. Use </span><em><span>0</span></em><span> for unlimited. 已弃用：请改用 </span><em><span>prune-backups</span></em><span>。每个 VM 的最大备份文件数。使用 </span><em><span>0</span></em><span> 表示无限制。</span></p></li><li><p><span>--mkdir </span><boolean><span> (</span><em><span>default =</span></em><span> yes) --mkdir </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 是）</span></p><p><span>Create the directory if it doesn’t exist and populate it with default sub-dirs. NOTE: Deprecated, use the </span><em><span>create-base-path</span></em><span> and </span><em><span>create-subdirs</span></em><span> options instead. 如果目录不存在，请创建该目录，并使用默认子目录填充该目录。注意：已弃用，请改用 </span><em><span>create-base-path</span></em><span> 和 </span><em><span>create-subdirs</span></em><span> 选项。</span></p></li><li><p><span>--monhost </span><string></p><p><span>IP addresses of monitors (for external clusters). 监视器的 IP 地址（用于外部集群）。</span></p></li><li><p><span>--mountpoint </span><string><span> --挂载点 </span><string></p><p><span>mount point 挂载点</span></p></li><li><p><span>--namespace </span><string></p><p><span>Namespace.</span></p></li><li><p><span>--nocow </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --nocow </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system. 在文件上设置 NOCOW 标志。禁用数据校验和，并导致数据错误无法恢复，同时允许直接 I/O。仅当数据不需要比在没有底层 RAID 系统的单个 ext4 格式化磁盘上更安全时才使用此。</span></p></li><li><p><span>--nodes </span><string></p><p><span>List of nodes for which the storage configuration applies. 应用存储配置的节点列表。</span></p></li><li><p><span>--nowritecache </span><boolean></p><p><span>disable write caching on the target 在目标上禁用写入缓存</span></p></li><li><p><span>--options </span><string></p><p><span>NFS/CIFS mount options (see </span><em><span>man nfs</span></em><span> or </span><em><span>man mount.cifs</span></em><span>) NFS/CIFS 挂载选项（请参见 </span><em><span>man nfs</span></em><span> 或 </span><em><span>man mount.cifs</span></em><span>）</span></p></li><li><p><span>--password </span><password><span> --密码 &lt;密码&gt;</span></p><p><span>Password for accessing the share/datastore. 用于访问共享/数据存储的密码。</span></p></li><li><p><span>--pool </span><string></p><p><span>Pool. 池。</span></p></li><li><p><span>--port </span><integer><span> (1 - 65535) --端口 </span><integer><span> （1 - 65535）</span></p><p><span>For non default port. 对于非默认端口。</span></p></li><li><p><span>--preallocation &lt;falloc | full | metadata | off&gt; (</span><em><span>default =</span></em><span> metadata) --preallocation &lt;falloc | full | metadata | off&gt;（</span><em><span>默认值 =</span></em><span> 元数据）</span></p><p><span>Preallocation mode for raw and qcow2 images. Using </span><em><span>metadata</span></em><span> on raw images results in preallocation=off. raw 和 qcow2 图像的预分配模式。在原始图像上使用</span><em><span>元数据</span></em><span>会导致 preallocation=off。</span></p></li><li><p><span>--prune-backups [keep-all=&lt;1|0&gt;] [,keep-daily=</span><N><span>] [,keep-hourly=</span><N><span>] [,keep-last=</span><N><span>] [,keep-monthly=</span><N><span>] [,keep-weekly=</span><N><span>] [,keep-yearly=</span><N><span>] --prune-backups [keep-all=&lt;1|0&gt;] [，keep-daily=</span><N><span>] [，keep-hourly=</span><N><span>] [，keep-last=</span><N><span>] [，keep-monthly=</span><N><span>] [，keep-weekly=</span><N><span>] [，keep-yearly=</span><N><span>]</span></p><p><span>The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups. 首先处理间隔较短的保留选项，其中 --keep-last 是第一个。每个选项都涵盖特定的时间段。我们说，此选项涵盖此时间段内的备份。下一个选项不处理已覆盖的备份，而只考虑较旧的备份。</span></p></li><li><p><span>--saferemove </span><boolean></p><p><span>Zero-out data when removing LVs. 删除 LV 时将数据清零。</span></p></li><li><p><span>--saferemove_throughput </span><string></p><p><span>Wipe throughput (cstream -t parameter value). 擦除吞吐量（cstream -t 参数值）。</span></p></li><li><p><span>--server </span><string><span> --服务器 </span><string></p><p><span>Server IP or DNS name. 服务器 IP 或 DNS 名称。</span></p></li><li><p><span>--server2 </span><string></p><p><span>Backup volfile server IP or DNS name. 备份 volfile 服务器 IP 或 DNS 名称。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971v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w1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): server 需要选项： server</span></p></li><li><p><span>--shared </span><boolean></p><p><span>Indicate that this is a single storage with the same contents on all nodes (or all listed in the </span><em><span>nodes</span></em><span> option). It will not make the contents of a local storage automatically accessible to other nodes, it just marks an already shared storage as such! 指示这是在所有节点（或</span><em><span>节点</span></em><span>选项中列出的所有节点）上具有相同内容的单个存储。它不会使本地存储的内容自动被其他节点访问，它只是将已经共享的存储标记为这样！</span></p></li><li><p><span>--skip-cert-verification </span><boolean><span> (</span><em><span>default =</span></em><span> false) --skip-cert-verification </span><boolean><span>（</span><em><span>默认值 =</span></em><span> false）</span></p><p><span>Disable TLS certificate verification, only enable on fully trusted networks! 禁用 TLS 证书验证，仅在完全受信任的网络上启用！</span></p></li><li><p><span>--smbversion &lt;2.0 | 2.1 | 3 | 3.0 | 3.11 | default&gt; (</span><em><span>default =</span></em><span> default) --smbversion &lt;2.0 | 2.1 | 3 | 3.0 | 3.11 | default&gt;（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>SMB protocol version. </span><em><span>default</span></em><span> if not set, negotiates the highest SMB2+ version supported by both the client and server. SMB 协议版本。</span><em><span>默认值</span></em><span> 如果未设置，则协商客户端和服务器支持的最高 SMB2+ 版本。</span></p></li><li><p><span>--sparse </span><boolean><span> --稀疏 </span><boolean></p><p><span>use sparse volumes 使用稀疏卷</span></p></li><li><p><span>--subdir </span><string></p><p><span>Subdir to mount. 要挂载的子目录。</span></p></li><li><p><span>--tagged_only </span><boolean></p><p><span>Only use logical volumes tagged with </span><em><span>pve-vm-ID</span></em><span>. 仅使用标记为 </span><em><span>pve-vm-ID</span></em><span> 的逻辑卷。</span></p></li><li><p><span>--transport &lt;rdma | tcp | unix&gt;</span></p><p><span>Gluster transport: tcp or rdma Gluster 传输：tcp 或 rdma</span></p></li><li><p><span>--username </span><string><span> --用户名 </span><string></p><p><span>RBD Id. RBD 同上。</span></p></li></ul><p><strong><span>pvesm status</span></strong><span> [OPTIONS]</span>
<strong><span>pvesm 状态</span></strong><span> [选项]</span></p><p><span>Get status for all datastores.</span>
<span>获取所有数据存储的状态。</span></p><ul><li><p><span>--content </span><string></p><p><span>Only list stores which support this content type. 仅列出支持此内容类型的存储。</span></p></li><li><p><span>--enabled </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --enabled </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Only list stores which are enabled (not disabled in config). 仅列出已启用（未在配置中禁用）的存储。</span></p></li><li><p><span>--format </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --format </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Include information about formats 包括有关格式的信息</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Only list status for specified storage 仅列出指定存储的状态</span></p></li><li><p><span>--target </span><string></p><p><span>If target is different to </span><em><span>node</span></em><span>, we only lists shared storages which content is accessible on this </span><em><span>node</span></em><span> and the specified </span><em><span>target</span></em><span> node. 如果目标与</span><em><span>节点</span></em><span>不同，我们仅列出共享存储、此</span><em><span>节点</span></em><span>和指定</span><em><span>目标</span></em><span>节点上可以访问的内容。</span></p></li></ul><p><strong><span>pvesm zfsscan</span></strong></p><p><span>An alias for </span><em><span>pvesm scan zfs</span></em><span>.</span>
<em><span>pvesm scan zfs</span></em><span> 的别名。</span></p><h3 id='223-pvesubscription---proxmox-ve-subscription-manager-223-pvesubscription---proxmox-ve-订阅管理器'><span>22.3. </span><strong><span>pvesubscription</span></strong><span> - Proxmox VE Subscription Manager 22.3. </span><strong><span>pvesubscription</span></strong><span> - Proxmox VE 订阅管理器 </span></h3><p><strong><span>pvesubscription</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span></p><p><strong><span>pvesubscription delete PVE订阅删除</span></strong></p><p><span>Delete subscription key of this node.</span>
<span>删除此节点的订阅密钥。</span></p><p><strong><span>pvesubscription get PVE订阅获取</span></strong></p><p><span>Read subscription info. 阅读订阅信息。</span></p><p><strong><span>pvesubscription help</span></strong><span> [OPTIONS]</span>
<strong><span>pvesubscription 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvesubscription set</span></strong><span> </span><key>
<strong><span>pve订阅集</span></strong><span> </span><key></p><p><span>Set subscription key. 设置订阅密钥。</span></p><ul><li><p><key><span>: \s</span><em><span>pve([1248])([cbsp])-[0-9a-f]{10}\s</span></em><span> </span><key><span>： \s</span><em><span>pve（[1248]）（[cbsp]）-[0-9a-f]{10}\s</span></em></p><p><span>Proxmox VE subscription key Proxmox VE 订阅密钥</span></p></li></ul><p><strong><span>pvesubscription set-offline-key</span></strong><span> </span><data>
<strong><span>pvesubscription 设置脱机密钥</span></strong><span> </span><data></p><p><span>Internal use only! To set an offline key, use the package proxmox-offline-mirror-helper instead.</span>
<span>仅限内部使用！要设置脱机密钥，请改用包 proxmox-offline-mirror-helper。</span></p><ul><li><p><data><span>: </span><string><span> </span><data><span>： </span><string></p><p><span>A signed subscription info blob 已签名的订阅信息 blob</span></p></li></ul><p><strong><span>pvesubscription update</span></strong><span> [OPTIONS]</span>
<strong><span>pve订阅更新</span></strong><span> [选项]</span></p><p><span>Update subscription info.</span>
<span>更新订阅信息。</span></p><ul><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Always connect to server, even if local cache is still valid. 始终连接到服务器，即使本地缓存仍然有效。</span></p></li></ul><h3 id='224-pveperf---proxmox-ve-benchmark-script-224-pveperf---proxmox-ve基准测试脚本'><span>22.4. </span><strong><span>pveperf</span></strong><span> - Proxmox VE Benchmark Script 22.4. </span><strong><span>pveperf</span></strong><span> - Proxmox VE基准测试脚本 </span></h3><p><strong><span>pveperf</span></strong><span> [PATH]</span>
<strong><span>pveperf</span></strong><span> [路径]</span></p><h3 id='225-pveceph---manage-ceph-services-on-proxmox-ve-nodes-225-pveceph---在proxmox-ve节点上管理ceph服务'><span>22.5. </span><strong><span>pveceph</span></strong><span> - Manage CEPH Services on Proxmox VE Nodes 22.5. </span><strong><span>pveceph</span></strong><span> - 在Proxmox VE节点上管理CEPH服务 </span></h3><p><strong><span>pveceph</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>pveceph</span></strong><span> </span><command><span> [参数] [选项]</span></p><p><strong><span>pveceph createmgr</span></strong></p><p><span>An alias for </span><em><span>pveceph mgr create</span></em><span>.</span>
<em><span>pveceph mgr create</span></em><span> 的别名。</span></p><p><strong><span>pveceph createmon</span></strong></p><p><span>An alias for </span><em><span>pveceph mon create</span></em><span>.</span>
<em><span>pveceph mon create</span></em><span> 的别名。</span></p><p><strong><span>pveceph createosd</span></strong></p><p><span>An alias for </span><em><span>pveceph osd create</span></em><span>.</span>
<em><span>pveceph osd create</span></em><span> 的别名。</span></p><p><strong><span>pveceph createpool</span></strong></p><p><span>An alias for </span><em><span>pveceph pool create</span></em><span>.</span>
<em><span>pveceph pool create</span></em><span> 的别名。</span></p><p><strong><span>pveceph destroymgr PVEceph 破坏 Mgr</span></strong></p><p><span>An alias for </span><em><span>pveceph mgr destroy</span></em><span>.</span>
<em><span>pveceph mgr destroy</span></em><span> 的别名。</span></p><p><strong><span>pveceph destroymon PVEceph 破坏兽</span></strong></p><p><span>An alias for </span><em><span>pveceph mon destroy</span></em><span>.</span>
<em><span>pveceph mon destroy</span></em><span> 的别名。</span></p><p><strong><span>pveceph destroyosd PVEceph 破坏OSD</span></strong></p><p><span>An alias for </span><em><span>pveceph osd destroy</span></em><span>.</span>
<em><span>pveceph osd destroy</span></em><span> 的别名。</span></p><p><strong><span>pveceph destroypool PVEceph 破坏池</span></strong></p><p><span>An alias for </span><em><span>pveceph pool destroy</span></em><span>.</span>
<em><span>pveceph pool destroy</span></em><span> 的别名。</span></p><p><strong><span>pveceph fs create</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph fs create</span></strong><span> [选项]</span></p><p><span>Create a Ceph filesystem 创建 Ceph 文件系统</span></p><ul><li><p><span>--add-storage </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --add-storage </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Configure the created CephFS as storage for this cluster. 将创建的 CephFS 配置为此集群的存储。</span></p></li><li><p><span>--name </span><string><span> (</span><em><span>default =</span></em><span> cephfs) --name </span><string><span>（</span><em><span>默认值 =</span></em><span> cephfs）</span></p><p><span>The ceph filesystem name. ceph 文件系统名称。</span></p></li><li><p><span>--pg_num </span><integer><span> (8 - 32768) (</span><em><span>default =</span></em><span> 128) --pg_num </span><integer><span> （8 - 32768） （</span><em><span>默认值 =</span></em><span> 128）</span></p><p><span>Number of placement groups for the backing data pool. The metadata pool will use a quarter of this. 后备数据池的归置组数。元数据池将使用其中的四分之一。</span></p></li></ul><p><strong><span>pveceph fs destroy</span></strong><span> </span><name><span> [OPTIONS]</span>
<strong><span>pveceph fs 销毁</span></strong><span> </span><name><span> [选项]</span></p><p><span>Destroy a Ceph filesystem</span>
<span>销毁 Ceph 文件系统</span></p><ul><li><p><name><span>: </span><string><span> </span><name><span>： </span><string></p><p><span>The ceph filesystem name. ceph 文件系统名称。</span></p></li><li><p><span>--remove-pools </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --remove-pools </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Remove data and metadata pools configured for this fs. 删除为此 fs 配置的数据和元数据池。</span></p></li><li><p><span>--remove-storages </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --remove-storages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Remove all pveceph-managed storages configured for this fs. 删除为此 fs 配置的所有 pveceph 托管存储。</span></p></li></ul><p><strong><span>pveceph help</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pveceph init</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph init</span></strong><span> [选项]</span></p><p><span>Create initial ceph default configuration and setup symlinks.</span>
<span>创建初始 ceph 默认配置并设置符号链接。</span></p><ul><li><p><span>--cluster-network </span><string></p><p><span>Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it 声明一个单独的集群网络，OSD 将通过它路由心跳、对象复制和恢复流量</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzIyOakkfF4QEpPG6nDRNNEA2FSgKimETSNCXPc0II57VpXhEolUqoOrxPSLOMT330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DDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): network 需要选项： network</span></p></li><li><p><span>--disable_cephx </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --disable_cephx </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Disable cephx authentication. 禁用 cephx 身份验证。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAMVUlEQVRogdWZeXDVVZbHP7/f27JB%0AwtJIiCERRFlbx5FuHRrRBgtBsRIwCCOrFmGmiDBjYVNlQlgiQjU6IjI4xLJxGf5QGp0Cbaftsu3R%0Ahu6aYXqgLZoWEsjyyDP7S972e7/l3vnj5cW3Ji9M/zOn6lRS997fvd/vueece+59ipSS/89iv5mP%0AZEQQQsS23RQARVEAUFUVRVFQog0ZyogJSClld3c327Ztw7IsLMuKto90KgBsNhtVVVXMnj2bvLw8%0A7Ha7HBEJKWXGKoSQXV1dcsuWLfLSpUsyKkKIIdWyrLTqdrvlU089Jc+cOSM9Ho8Mh8NSCCEzxTRi%0A8JWVlbKtre0vAt6yLGmapmxtbZXr1q2TZ86ckW1tbSMikTH4GzduyKqqqkHwsSA1TZOhUChOg8Hg%0AoBqGIQ3DSAk+VleuXDliEspwviullD09PbzwwgscO3Yszt91XScQCNDZ2YlhGIPfuFwu7Pb48FJV%0AlZycnEG/z8/PRwiBqqqDYzweD88//zyrV69m7ty5jBs3DofDMWRgD0lASik9Hg979uzh2LFjcYEa%0ACoVob2/n2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xg8ceABiouLue+ttyieN2+IK2Z6TRx/5+LFacE3NDRQWVmZFjwk%0AnAOxJF566SW2bNnChQsXkmKipKSEB959l9vmzcvo1pZOpz/8ME98+mla8Bs2bGDZsmVpwUOa5/VE%0Ad0oXE319fXxWXs43Z88m9Q0n03/0I1YPJIRE8OfOnWPHjh2UlZUNCT4tgUQSO3fupKqqigceeGCw%0AP/a7VM8emUg0VcbK+fPn2bp1KytWrBgW/JAEEknU1NTw7LPPMn/+/GFBZQI8lZw/f57nnnuO5cuX%0AM2XKlGHBD0sgkURdXR2PP/44FRUVNwV+qP7Tp09z8ODBjNxmRAQSSRw4cIBly5axdOnSvwh4RVH4%0A4osv2L9/P2VlZRlbfkQEEkls376djo4OQqHE83bk4nK5EEKwZs0aSktLRwR+RATgOxItLS1cu3aN%0Avr6+wTfK/4tEfzeeMmUKkydPzhg8jJAAREgEg0H6+vrQNC2pFL8ZUVWVrKws8vPzycnJQVXVjH/s%0A/F/lgJiyQFHragAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Warning"><span>cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private! Cephx 是一项安全功能，可防止中间人攻击。只有当您的网络是私有的时，才考虑禁用 cephx！</span></p></li><li><p><span>--min_size </span><integer><span> (1 - 7) (</span><em><span>default =</span></em><span> 2) --min_size </span><integer><span> （1 - 7） （</span><em><span>默认值 =</span></em><span> 2）</span></p><p><span>Minimum number of available replicas per object to allow I/O 允许 I/O 的每个对象的最小可用副本数</span></p></li><li><p><span>--network </span><string></p><p><span>Use specific network for all ceph related traffic 对所有与 ceph 相关的流量使用特定网络</span></p></li><li><p><span>--pg_bits </span><integer><span> (6 - 14) (</span><em><span>default =</span></em><span> 6) --pg_bits </span><integer><span> （6 - 14） （</span><em><span>默认值 =</span></em><span> 6）</span></p><p><span>Placement group bits, used to specify the default number of placement groups. 归置组位，用于指定归置组的默认数量。Depreacted. This setting was deprecated in recent Ceph versions. 已弃用。此设置在最近的 Ceph 版本中已弃用。</span></p></li><li><p><span>--size </span><integer><span> (1 - 7) (</span><em><span>default =</span></em><span> 3) --size </span><integer><span> （1 - 7） （</span><em><span>默认值 =</span></em><span> 3）</span></p><p><span>Targeted number of replicas per object 每个对象的目标副本数</span></p></li></ul><p><strong><span>pveceph install</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph 安装</span></strong><span> [选项]</span></p><p><span>Install ceph related packages.</span>
<span>安装 ceph 相关包。</span></p><ul><li><p><span>--allow-experimental </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --allow-experimental </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Allow experimental versions. Use with care! 允许实验版本。请小心使用！</span></p></li><li><p><span>--repository &lt;enterprise | no-subscription | test&gt; (</span><em><span>default =</span></em><span> enterprise) --repository &lt;enterprise | no-subscription | test&gt;（</span><em><span>默认值 =</span></em><span> enterprise）</span></p><p><span>Ceph repository to use. 要使用的 Ceph 仓库。</span></p></li><li><p><span>--version &lt;quincy | reef&gt; (</span><em><span>default =</span></em><span> quincy) --version &lt;quincy | reef&gt;（</span><em><span>默认值 =</span></em><span> quincy）</span></p><p><span>Ceph version to install. 要安装的 Ceph 版本。</span></p></li></ul><p><strong><span>pveceph lspools PVECEPH LSPales</span></strong></p><p><span>An alias for </span><em><span>pveceph pool ls</span></em><span>.</span>
<em><span>pveceph 池 ls</span></em><span> 的别名。</span></p><p><strong><span>pveceph mds create</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph mds create</span></strong><span> [选项]</span></p><p><span>Create Ceph Metadata Server (MDS)</span>
<span>创建 Ceph 元数据服务器 （MDS）</span></p><ul><li><p><span>--hotstandby </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --hotstandby </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources. 确定 ceph-mds 守护进程是否应轮询并重放活动 MDS 的日志。MDS 失败时切换速度更快，但需要更多的空闲资源。</span></p></li><li><p><span>--name </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? (</span><em><span>default =</span></em><span> nodename) --name [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]</span><em><span>[a-zA-Z0-9]）？ （</span></em><span>默认值 =* nodename）</span></p><p><span>The ID for the mds, when omitted the same as the nodename mds 的 ID，省略时与节点名相同</span></p></li></ul><p><strong><span>pveceph mds destroy</span></strong><span> </span><name>
<strong><span>pveceph mds 销毁</span></strong><span> </span><name></p><p><span>Destroy Ceph Metadata Server</span>
<span>销毁 Ceph 元数据服务器</span></p><ul><li><p><name><span>: </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? </span><name><span>： [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]*[a-zA-Z0-9]）？</span></p><p><span>The name (ID) of the mds mds 的名称 （ID）</span></p></li></ul><p><strong><span>pveceph mgr create</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph mgr create</span></strong><span> [选项]</span></p><p><span>Create Ceph Manager 创建 Ceph Manager</span></p><ul><li><p><span>--id </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? --id [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]*[a-zA-Z0-9]）？</span></p><p><span>The ID for the manager, when omitted the same as the nodename 管理器的 ID，省略时与节点名相同</span></p></li></ul><p><strong><span>pveceph mgr destroy</span></strong><span> </span><id>
<strong><span>pveceph mgr 销毁</span></strong><span> </span><id></p><p><span>Destroy Ceph Manager. 销毁 Ceph Manager。</span></p><ul><li><p><id><span>: </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? </span><id><span>： [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]*[a-zA-Z0-9]）？</span></p><p><span>The ID of the manager 管理器的 ID</span></p></li></ul><p><strong><span>pveceph mon create</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph mon create</span></strong><span> [选项]</span></p><p><span>Create Ceph Monitor and Manager</span>
<span>创建 Ceph Monitor 和 Manager</span></p><ul><li><p><span>--mon-address </span><string></p><p><span>Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph. 覆盖自动检测的监视器 IP 地址。必须位于 Ceph 的公共网络中。</span></p></li><li><p><span>--monid </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? --monid [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]*[a-zA-Z0-9]）？</span></p><p><span>The ID for the monitor, when omitted the same as the nodename 监视器的 ID，省略时与节点名相同</span></p></li></ul><p><strong><span>pveceph mon destroy</span></strong><span> </span><monid>
<strong><span>pveceph mon 销毁</span></strong><span> </span><monid></p><p><span>Destroy Ceph Monitor and Manager.</span>
<span>销毁 Ceph Monitor 和 Manager。</span></p><ul><li><p><monid><span>: </span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>? </span><monid><span>： [a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]*[a-zA-Z0-9]）？</span></p><p><span>Monitor ID 监视器 ID</span></p></li></ul><p><strong><span>pveceph osd create</span></strong><span> </span><dev><span> [OPTIONS]</span>
<strong><span>pveceph osd create</span></strong><span> </span><dev><span> [选项]</span></p><p><span>Create OSD 创建 OSD</span></p><ul><li><p><dev><span>: </span><string><span> </span><dev><span>： </span><string></p><p><span>Block device name. 块设备名称。</span></p></li><li><p><span>--crush-device-class </span><string></p><p><span>Set the device class of the OSD in crush. 将 OSD 的设备类别设置为粉碎。</span></p></li><li><p><span>--db_dev </span><string></p><p><span>Block device name for block.db. block.db的块设备名称。</span></p></li><li><p><span>--db_dev_size </span><number><span> (1 - N) (</span><em><span>default =</span></em><span> bluestore_block_db_size or 10% of OSD size) --db_dev_size </span><number><span> （1 - N） （</span><em><span>默认值 =</span></em><span> OSD 大小的 bluestore_block_db_size% 或 10%）</span></p><p><span>Size in GiB for block.db. block.db 的大小（以 GiB 为单位）。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzI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EDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): db_dev 需要选项： db_dev</span></p></li><li><p><span>--encrypted </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --encrypted </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enables encryption of the OSD. 启用 OSD 加密。</span></p></li><li><p><span>--osds-per-device </span><integer><span> (1 - N) --osds-per-device </span><integer><span> （1 - N）</span></p><p><span>OSD services per physical device. Only useful for fast NVMe devices&quot; .&quot; to utilize their performance better. 每个物理设备的 OSD 服务。仅对快速 NVMe 设备有用“，以更好地利用其性能。</span></p></li><li><p><span>--wal_dev </span><string></p><p><span>Block device name for block.wal. block.wal 的块设备名称。</span></p></li><li><p><span>--wal_dev_size </span><number><span> (0.5 - N) (</span><em><span>default =</span></em><span> bluestore_block_wal_size or 1% of OSD size) --wal_dev_size </span><number><span> （0.5 - N）（</span><em><span>默认值 =</span></em><span> OSD 大小的 bluestore_block_wal_size 或 1%）</span></p><p><span>Size in GiB for block.wal. block.wal 的大小（以 GiB 为单位）。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02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wZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): wal_dev 需要选项： wal_dev</span></p></li></ul><p><strong><span>pveceph osd destroy</span></strong><span> </span><osdid><span> [OPTIONS]</span>
<strong><span>pveceph osd destroy</span></strong><span> </span><osdid><span> [选项]</span></p><p><span>Destroy OSD 销毁 OSD</span></p><ul><li><p><osdid><span>: </span><integer><span> </span><osdid><span>： </span><integer></p><p><span>OSD ID</span></p></li><li><p><span>--cleanup </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --cleanup </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If set, we remove partition table entries. 如果设置，我们将删除分区表条目。</span></p></li></ul><p><strong><span>pveceph osd details</span></strong><span> </span><osdid><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveceph osd 详细信息</span></strong><span> </span><osdid><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Get OSD details. 获取 OSD 详细信息。</span></p><ul><li><p><osdid><span>: </span><string><span> </span><osdid><span>： </span><string></p><p><span>ID of the OSD OSD 的 ID</span></p></li><li><p><span>--verbose </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verbose </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Print verbose information, same as json-pretty output format. 打印详细信息，与 json-pretty 输出格式相同。</span></p></li></ul><p><strong><span>pveceph pool create</span></strong><span> </span><name><span> [OPTIONS]</span>
<strong><span>pveceph 池创建</span></strong><span> </span><name><span> [选项]</span></p><p><span>Create Ceph pool 创建 Ceph 池</span></p><ul><li><p><name><span>: </span><string><span> </span><name><span>： </span><string></p><p><span>The name of the pool. It must be unique. 池的名称。它必须是唯一的。</span></p></li><li><p><span>--add_storages </span><boolean><span> (</span><em><span>default =</span></em><span> 0; for erasure coded pools: 1) --add_storages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0;对于纠删码池：1）</span></p><p><span>Configure VM and CT storage using the new pool. 使用新池配置 VM 和 CT 存储。</span></p></li><li><p><span>--application &lt;cephfs | rbd | rgw&gt; (</span><em><span>default =</span></em><span> rbd) --application &lt;cephfs | rbd | rgw&gt;（</span><em><span>默认值 =</span></em><span> rbd）</span></p><p><span>The application of the pool. 池的应用。</span></p></li><li><p><span>--crush_rule </span><string></p><p><span>The rule to use for mapping object placement in the cluster. 用于映射集群中对象放置的规则。</span></p></li><li><p><span>--erasure-coding k=</span><integer><span> ,m=</span><integer><span> [,device-class=</span><class><span>] [,failure-domain=</span><domain><span>] [,profile=</span><profile><span>] --擦除编码 k=</span><integer><span> ，m=</span><integer><span> [，device-class=</span><class><span>] [，failure-domain=</span><domain><span>] [，profile=</span><profile><span>]</span></p><p><span>Create an erasure coded pool for RBD with an accompaning replicated pool for metadata storage. With EC, the common ceph options </span><em><span>size</span></em><span>, </span><em><span>min_size</span></em><span> and </span><em><span>crush_rule</span></em><span> parameters will be applied to the metadata pool. 为 RBD 创建一个纠删码池，并为元数据存储创建一个伴随的复制池。使用 EC 时，常见的 ceph 选项 </span><em><span>size</span></em><span>、</span><em><span>min_size</span></em><span> 和 </span><em><span>crush_rule</span></em><span> 参数将应用于元数据池。</span></p></li><li><p><span>--min_size </span><integer><span> (1 - 7) (</span><em><span>default =</span></em><span> 2) --min_size </span><integer><span> （1 - 7） （</span><em><span>默认值 =</span></em><span> 2）</span></p><p><span>Minimum number of replicas per object 每个对象的最小副本数</span></p></li><li><p><span>--pg_autoscale_mode &lt;off | on | warn&gt; (</span><em><span>default =</span></em><span> warn) --pg_autoscale_mode &lt;off | on | warn&gt;（</span><em><span>默认值 =</span></em><span> 警告）</span></p><p><span>The automatic PG scaling mode of the pool. 池的自动 PG 缩放模式。</span></p></li><li><p><span>--pg_num </span><integer><span> (1 - 32768) (</span><em><span>default =</span></em><span> 128) --pg_num </span><integer><span> （1 - 32768） （</span><em><span>默认值 =</span></em><span> 128）</span></p><p><span>Number of placement groups. 归置组的数量。</span></p></li><li><p><span>--pg_num_min </span><integer><span> (-N - 32768) --pg_num_min </span><integer><span> （-N - 32768）</span></p><p><span>Minimal number of placement groups. 最少数量的归置组。</span></p></li><li><p><span>--size </span><integer><span> (1 - 7) (</span><em><span>default =</span></em><span> 3) --size </span><integer><span> （1 - 7） （</span><em><span>默认值 =</span></em><span> 3）</span></p><p><span>Number of replicas per object 每个对象的副本数</span></p></li><li><p><span>--target_size ^(\d+(</span><span>.</span><span>\d+)?)([KMGT])?$ --target_size ^（\d+（</span><span>.</span><span>\d+）？）（[KMGT]）？$</span></p><p><span>The estimated target size of the pool for the PG autoscaler. PG 自动缩放程序的池的估计目标大小。</span></p></li><li><p><span>--target_size_ratio </span><number><span> --target_size_ratio &lt;编号&gt;</span></p><p><span>The estimated target ratio of the pool for the PG autoscaler. PG 自动缩放程序的池的估计目标比率。</span></p></li></ul><p><strong><span>pveceph pool destroy</span></strong><span> </span><name><span> [OPTIONS]</span>
<strong><span>pveceph 池销毁</span></strong><span> </span><name><span> [选项]</span></p><p><span>Destroy pool 销毁池</span></p><ul><li><p><name><span>: </span><string><span> </span><name><span>： </span><string></p><p><span>The name of the pool. It must be unique. 池的名称。它必须是唯一的。</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If true, destroys pool even if in use 如果为 true，则销毁池，即使正在使用中</span></p></li><li><p><span>--remove_ecprofile </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --remove_ecprofile </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Remove the erasure code profile. Defaults to true, if applicable. 删除纠删码配置文件。如果适用，则默认为 true。</span></p></li><li><p><span>--remove_storages </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --remove_storages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Remove all pveceph-managed storages configured for this pool 删除为此池配置的所有 pveceph 管理的存储</span></p></li></ul><p><strong><span>pveceph pool get</span></strong><span> </span><name><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveceph 池获取</span></strong><span> </span><name><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Show the current pool status.</span>
<span>显示当前池状态。</span></p><ul><li><p><name><span>: </span><string><span> </span><name><span>： </span><string></p><p><span>The name of the pool. It must be unique. 池的名称。它必须是唯一的。</span></p></li><li><p><span>--verbose </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verbose </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If enabled, will display additional data(eg. statistics). 如果启用，将显示其他数据（例如统计信息）。</span></p></li></ul><p><strong><span>pveceph pool ls</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVECEPH池LS</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>List all pools and their settings (which are settable by the POST/PUT endpoints).</span>
<span>列出所有池及其设置（可由 POST/PUT 端点设置）。</span></p><p><strong><span>pveceph pool set</span></strong><span> </span><name><span> [OPTIONS]</span>
<strong><span>pveceph 池集</span></strong><span> </span><name><span> [选项]</span></p><p><span>Change POOL settings 更改 POOL 设置</span></p><ul><li><p><name><span>: </span><string><span> </span><name><span>： </span><string></p><p><span>The name of the pool. It must be unique. 池的名称。它必须是唯一的。</span></p></li><li><p><span>--application &lt;cephfs | rbd | rgw&gt;</span></p><p><span>The application of the pool. 池的应用。</span></p></li><li><p><span>--crush_rule </span><string></p><p><span>The rule to use for mapping object placement in the cluster. 用于映射集群中对象放置的规则。</span></p></li><li><p><span>--min_size </span><integer><span> (1 - 7) --min_size </span><integer><span> （1 - 7）</span></p><p><span>Minimum number of replicas per object 每个对象的最小副本数</span></p></li><li><p><span>--pg_autoscale_mode &lt;off | on | warn&gt;</span></p><p><span>The automatic PG scaling mode of the pool. 池的自动 PG 缩放模式。</span></p></li><li><p><span>--pg_num </span><integer><span> (1 - 32768) --pg_num </span><integer><span> （1 - 32768）</span></p><p><span>Number of placement groups. 归置组的数量。</span></p></li><li><p><span>--pg_num_min </span><integer><span> (-N - 32768) --pg_num_min </span><integer><span> （-N - 32768）</span></p><p><span>Minimal number of placement groups. 最少数量的归置组。</span></p></li><li><p><span>--size </span><integer><span> (1 - 7) --大小 </span><integer><span> （1 - 7）</span></p><p><span>Number of replicas per object 每个对象的副本数</span></p></li><li><p><span>--target_size ^(\d+(</span><span>.</span><span>\d+)?)([KMGT])?$ --target_size ^（\d+（</span><span>.</span><span>\d+）？）（[KMGT]）？$</span></p><p><span>The estimated target size of the pool for the PG autoscaler. PG 自动缩放程序的池的估计目标大小。</span></p></li><li><p><span>--target_size_ratio </span><number><span> --target_size_ratio &lt;编号&gt;</span></p><p><span>The estimated target ratio of the pool for the PG autoscaler. PG 自动缩放程序的池的估计目标比率。</span></p></li></ul><p><strong><span>pveceph purge</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph 清除</span></strong><span> [选项]</span></p><p><span>Destroy ceph related data and configuration files.</span>
<span>销毁 ceph 相关数据和配置文件。</span></p><ul><li><p><span>--crash </span><boolean></p><p><span>Additionally purge Ceph crash logs, /var/lib/ceph/crash. 此外，清除 Ceph 崩溃日志 /var/lib/ceph/crash。</span></p></li><li><p><span>--logs </span><boolean></p><p><span>Additionally purge Ceph logs, /var/log/ceph. 此外，清除 Ceph 日志 /var/log/ceph。</span></p></li></ul><p><strong><span>pveceph start</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph start</span></strong><span> [选项]</span></p><p><span>Start ceph services. 启动 ceph 服务。</span></p><ul><li><p><span>--service (ceph|mon|mds|osd|mgr)(</span><span>.</span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>?)? (</span><em><span>default =</span></em><span> ceph.target) --服务 （Ceph|My|MDS|OSD|MGo）（</span><span>.</span><span>[a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]</span><em><span>[a-zA-Z0-9]）？）？（</span></em><span>默认值 =* ceph.target）</span></p><p><span>Ceph service name. Ceph 服务名称。</span></p></li></ul><p><strong><span>pveceph status PVECEPH状态</span></strong></p><p><span>Get Ceph Status. 获取 Ceph 状态。</span></p><p><strong><span>pveceph stop</span></strong><span> [OPTIONS]</span>
<strong><span>pveceph 停止</span></strong><span> [选项]</span></p><p><span>Stop ceph services. 停止 ceph 服务。</span></p><ul><li><p><span>--service (ceph|mon|mds|osd|mgr)(</span><span>.</span><a href='[a-zA-Z0-9\-]*[a-zA-Z0-9]'><span>a-zA-Z0-9</span></a><span>?)? (</span><em><span>default =</span></em><span> ceph.target) --服务 （Ceph|My|MDS|OSD|MGo）（</span><span>.</span><span>[a-zA-Z0-9]（[a-zA-Z0-9</span><span>-</span><span>]</span><em><span>[a-zA-Z0-9]）？）？（</span></em><span>默认值 =* ceph.target）</span></p><p><span>Ceph service name. Ceph 服务名称。</span></p></li></ul><h3 id='226-pvenode---proxmox-ve-node-management-226-pvenode---proxmox-ve节点管理'><span>22.6. </span><strong><span>pvenode</span></strong><span> - Proxmox VE Node Management 22.6. </span><strong><span>pvenode</span></strong><span> - Proxmox VE节点管理 </span></h3><p><strong><span>pvenode</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>pvenode</span></strong><span> </span><command><span> [参数] [选项]</span></p><p><strong><span>pvenode acme account deactivate</span></strong><span> [</span><name><span>]</span>
<strong><span>pvenode acme 帐户停用</span></strong><span> [</span><name><span>]</span></p><p><span>Deactivate existing ACME account at CA.</span>
<span>在 CA 停用现有的 ACME 帐户。</span></p><ul><li><p><name><span>: </span><name><span> (</span><em><span>default =</span></em><span> default) </span><name><span>： </span><name><span>（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>ACME account config file name. ACME 帐户配置文件名。</span></p></li></ul><p><strong><span>pvenode acme account info</span></strong><span> [</span><name><span>] [FORMAT_OPTIONS]</span>
<strong><span>pvenode acme 帐户信息</span></strong><span> [</span><name><span>] [FORMAT_OPTIONS]</span></p><p><span>Return existing ACME account information.</span>
<span>返回现有的 ACME 帐户信息。</span></p><ul><li><p><name><span>: </span><name><span> (</span><em><span>default =</span></em><span> default) </span><name><span>： </span><name><span>（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>ACME account config file name. ACME 帐户配置文件名。</span></p></li></ul><p><strong><span>pvenode acme account list</span>
<span>PVEnode ACME 账户列表</span></strong></p><p><span>ACMEAccount index. ACMEAccount 索引。</span></p><p><strong><span>pvenode acme account register</span></strong><span> [</span><name><span>] {</span><contact><span>} [OPTIONS]</span>
<strong><span>pvenode acme 帐户注册</span></strong><span> [</span><name><span>] {</span><contact><span>} [选项]</span></p><p><span>Register a new ACME account with a compatible CA.</span>
<span>在兼容的 CA 中注册一个新的 ACME 帐户。</span></p><ul><li><p><name><span>: </span><name><span> (</span><em><span>default =</span></em><span> default) </span><name><span>： </span><name><span>（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>ACME account config file name. ACME 帐户配置文件名。</span></p></li><li><p><contact><span>: </span><string><span> </span><contact><span>： </span><string></p><p><span>Contact email addresses. 联系电子邮件地址。</span></p></li><li><p><span>--directory ^https?://.* --目录 ^https？：//.*</span></p><p><span>URL of ACME CA directory endpoint. ACME CA 目录端点的 URL。</span></p></li></ul><p><strong><span>pvenode acme account update</span></strong><span> [</span><name><span>] [OPTIONS]</span>
<strong><span>pvenode acme 帐户更新</span></strong><span> [</span><name><span>] [选项]</span></p><p><span>Update existing ACME account information with CA. Note: not specifying any new account information triggers a refresh.</span>
<span>使用 CA 更新现有的 ACME 帐户信息。注意：未指定任何新的帐户信息会触发刷新。</span></p><ul><li><p><name><span>: </span><name><span> (</span><em><span>default =</span></em><span> default) </span><name><span>： </span><name><span>（</span><em><span>默认值 =</span></em><span> 默认值）</span></p><p><span>ACME account config file name. ACME 帐户配置文件名。</span></p></li><li><p><span>--contact </span><string></p><p><span>Contact email addresses. 联系电子邮件地址。</span></p></li></ul><p><strong><span>pvenode acme cert order</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode acme 证书订单</span></strong><span> [选项]</span></p><p><span>Order a new certificate from ACME-compatible CA.</span>
<span>从与 ACME 兼容的 CA 订购新证书。</span></p><ul><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Overwrite existing custom certificate. 覆盖现有的自定义证书。</span></p></li></ul><p><strong><span>pvenode acme cert renew</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode acme cert renew</span></strong><span> [选项]</span></p><p><span>Renew existing certificate from CA.</span>
<span>从 CA 续订现有证书。</span></p><ul><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Force renewal even if expiry is more than 30 days away. 即使到期时间超过 30 天，也可以强制续订。</span></p></li></ul><p><strong><span>pvenode acme cert revoke PVEnode ACME 证书吊销</span></strong></p><p><span>Revoke existing certificate from CA.</span>
<span>从 CA 吊销现有证书。</span></p><p><strong><span>pvenode acme plugin add</span></strong><span> </span><type><span> </span><id><span> [OPTIONS]</span>
<strong><span>pvenode acme 插件添加</span></strong><span> </span><type><span> </span><id><span> [选项]</span></p><p><span>Add ACME plugin configuration.</span>
<span>添加 ACME 插件配置。</span></p><ul><li><p><type><span>: &lt;dns | standalone&gt; </span><type><span>： &lt;dns | 独立&gt;</span></p><p><span>ACME challenge type. ACME挑战型。</span></p></li><li><p><id><span>: </span><string><span> </span><id><span>： </span><string></p><p><span>ACME Plugin ID name ACME 插件 ID 名称</span></p></li><li><p><span>--api &lt;1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi&gt; --应用程序接口 &lt;1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi&gt;</span></p><p><span>API plugin name API 插件名称</span></p></li><li><p><span>--data File with one key-value pair per line, will be base64url encode for storage in plugin config. --data 每行有一个键值对的文件，将按照 base64url 编码在插件配置中存储。</span></p><p><span>DNS plugin data. (base64 encoded) DNS 插件数据。（base64 编码）</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable the config. 用于禁用配置的标志。</span></p></li><li><p><span>--nodes </span><string></p><p><span>List of cluster node names. 群集节点名称的列表。</span></p></li><li><p><span>--validation-delay </span><integer><span> (0 - 172800) (</span><em><span>default =</span></em><span> 30) --validation-delay </span><integer><span> （0 - 172800） （</span><em><span>默认值 =</span></em><span> 30）</span></p><p><span>Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records. 在请求验证之前等待的额外延迟（以秒为单位）。允许处理 DNS 记录的长 TTL。</span></p></li></ul><p><strong><span>pvenode acme plugin config</span></strong><span> </span><id><span> [FORMAT_OPTIONS]</span>
<strong><span>pvenode acme 插件配置</span></strong><span> </span><id><span> [FORMAT_OPTIONS]</span></p><p><span>Get ACME plugin configuration.</span>
<span>获取 ACME 插件配置。</span></p><ul><li><p><id><span>: </span><string><span> </span><id><span>： </span><string></p><p><span>Unique identifier for ACME plugin instance. ACME 插件实例的唯一标识符。</span></p></li></ul><p><strong><span>pvenode acme plugin list</span></strong><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvenode acme 插件列表</span></strong><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>ACME plugin index. ACME插件索引。</span></p><ul><li><p><span>--type &lt;dns | standalone&gt; --type &lt;dns | 独立&gt;</span></p><p><span>Only list ACME plugins of a specific type 仅列出特定类型的 ACME 插件</span></p></li></ul><p><strong><span>pvenode acme plugin remove</span></strong><span> </span><id>
<strong><span>pvenode acme 插件删除</span></strong><span> </span><id></p><p><span>Delete ACME plugin configuration.</span>
<span>删除 ACME 插件配置。</span></p><ul><li><p><id><span>: </span><string><span> </span><id><span>： </span><string></p><p><span>Unique identifier for ACME plugin instance. ACME 插件实例的唯一标识符。</span></p></li></ul><p><strong><span>pvenode acme plugin set</span></strong><span> </span><id><span> [OPTIONS]</span>
<strong><span>pvenode acme 插件集</span></strong><span> </span><id><span> [选项]</span></p><p><span>Update ACME plugin configuration.</span>
<span>更新 ACME 插件配置。</span></p><ul><li><p><id><span>: </span><string><span> </span><id><span>： </span><string></p><p><span>ACME Plugin ID name ACME 插件 ID 名称</span></p></li><li><p><span>--api &lt;1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi&gt; --应用程序接口 &lt;1984hosting | acmedns | acmeproxy | active24 | ad | ali | anx | artfiles | arvan | aurora | autodns | aws | azion | azure | bookmyname | bunny | cf | clouddns | cloudns | cn | conoha | constellix | cpanel | curanet | cyon | da | ddnss | desec | df | dgon | dnsexit | dnshome | dnsimple | dnsservices | do | doapi | domeneshop | dp | dpi | dreamhost | duckdns | durabledns | dyn | dynu | dynv6 | easydns | edgedns | euserv | exoscale | fornex | freedns | gandi_livedns | gcloud | gcore | gd | geoscaling | googledomains | he | hetzner | hexonet | hostingde | huaweicloud | infoblox | infomaniak | internetbs | inwx | ionos | ipv64 | ispconfig | jd | joker | kappernet | kas | kinghost | knot | la | leaseweb | lexicon | linode | linode_v4 | loopia | lua | maradns | me | miab | misaka | myapi | mydevil | mydnsjp | mythic_beasts | namecheap | namecom | namesilo | nanelo | nederhost | neodigit | netcup | netlify | nic | njalla | nm | nsd | nsone | nsupdate | nw | oci | one | online | openprovider | openstack | opnsense | ovh | pdns | pleskxml | pointhq | porkbun | rackcorp | rackspace | rage4 | rcode0 | regru | scaleway | schlundtech | selectel | selfhost | servercow | simply | tele3 | tencent | transip | udr | ultra | unoeuro | variomedia | veesp | vercel | vscale | vultr | websupport | world4you | yandex | yc | zilore | zone | zonomi&gt;</span></p><p><span>API plugin name API 插件名称</span></p></li><li><p><span>--data File with one key-value pair per line, will be base64url encode for storage in plugin config. --data 每行有一个键值对的文件，将按照 base64url 编码在插件配置中存储。</span></p><p><span>DNS plugin data. (base64 encoded) DNS 插件数据。（base64 编码）</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable the config. 用于禁用配置的标志。</span></p></li><li><p><span>--nodes </span><string></p><p><span>List of cluster node names. 群集节点名称的列表。</span></p></li><li><p><span>--validation-delay </span><integer><span> (0 - 172800) (</span><em><span>default =</span></em><span> 30) --validation-delay </span><integer><span> （0 - 172800） （</span><em><span>默认值 =</span></em><span> 30）</span></p><p><span>Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records. 在请求验证之前等待的额外延迟（以秒为单位）。允许处理 DNS 记录的长 TTL。</span></p></li></ul><p><strong><span>pvenode cert delete</span></strong><span> [</span><restart><span>]</span>
<strong><span>pvenode 证书删除</span></strong><span> [</span><restart><span>]</span></p><p><span>DELETE custom certificate chain and key.</span>
<span>删除自定义证书链和密钥。</span></p><ul><li><p><restart><span>: </span><boolean><span> (</span><em><span>default =</span></em><span> 0) </span><restart><span>： </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Restart pveproxy. 重启 pveproxy。</span></p></li></ul><p><strong><span>pvenode cert info</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVEnode 证书信息</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>Get information about node’s certificates.</span>
<span>获取有关节点证书的信息。</span></p><p><strong><span>pvenode cert set</span></strong><span> </span><certificates><span> [</span><key><span>] [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvenode 证书集</span></strong><span> </span><certificates><span> [</span><key><span>] [选项] [FORMAT_OPTIONS]</span></p><p><span>Upload or update custom certificate chain and key.</span>
<span>上传或更新自定义证书链和密钥。</span></p><ul><li><p><certificates><span>: </span><string><span> </span><certificates><span>： </span><string></p><p><span>PEM encoded certificate (chain). PEM编码证书（链）。</span></p></li><li><p><key><span>: </span><string><span> </span><key><span>： </span><string></p><p><span>PEM encoded private key. PEM 编码的私钥。</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Overwrite existing custom or ACME certificate files. 覆盖现有的自定义或 ACME 证书文件。</span></p></li><li><p><span>--restart </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --restart </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Restart pveproxy. 重启 pveproxy。</span></p></li></ul><p><strong><span>pvenode config get</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode config get</span></strong><span> [选项]</span></p><p><span>Get node configuration options.</span>
<span>获取节点配置选项。</span></p><ul><li><p><span>--property &lt;acme | acmedomain0 | acmedomain1 | acmedomain2 | acmedomain3 | acmedomain4 | acmedomain5 | description | startall-onboot-delay | wakeonlan&gt; (</span><em><span>default =</span></em><span> all) --property &lt;acme | acmedomain0 | acmedomain1 | acmedomain2 | acmedomain3 | acmedomain4 | acmedomain5 | description | startall-onboot-delay | wakeonlan&gt; （</span><em><span>默认值 =</span></em><span> all）</span></p><p><span>Return only a specific property from the node configuration. 仅返回节点配置中的特定属性。</span></p></li></ul><p><strong><span>pvenode config set</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode 配置集</span></strong><span> [OPTIONS]</span></p><p><span>Set node configuration options.</span>
<span>设置节点配置选项。</span></p><ul><li><p><span>--acme [account=</span><name><span>] [,domains=&lt;domain[;domain;...]&gt;] --acme [帐户=</span><name><span>] [，域=&lt;域[;域;...]&gt;]</span></p><p><span>Node specific ACME settings. 特定于节点的 ACME 设置。</span></p></li><li><p><span>--acmedomain[n] [domain=]</span><domain><span> [,alias=</span><domain><span>] [,plugin=</span><name of the plugin configuration><span>] --acmedomain[n] [domain=]</span><domain><span> [，alias=</span><domain><span>] [，plugin=&lt;插件配置名&gt;]</span></p><p><span>ACME domain and validation plugin ACME域名和验证插件</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the Node. Shown in the web-interface node notes panel. This is saved as comment inside the configuration file. 节点的描述。显示在 Web 界面节点注释面板中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--startall-onboot-delay </span><integer><span> (0 - 300) (</span><em><span>default =</span></em><span> 0) --startall-onboot-delay </span><integer><span> （0 - 300） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Initial delay in seconds, before starting all the Virtual Guests with on-boot enabled. 初始延迟（以秒为单位），然后启动所有启用了启动时的虚拟客户机。</span></p></li><li><p><span>--wakeonlan [mac=]</span><MAC address><span> [,bind-interface=</span><bind interface><span>] [,broadcast-address=</span><IPv4 broadcast address><span>] --wakeonlan [mac=]&lt;MAC地址&gt; [，bind-interface=</span><bind interface><span>] [，broadcast-address=&lt;IPv4广播地址&gt;]</span></p><p><span>Node specific wake on LAN settings. 特定于节点的 LAN 唤醒设置。</span></p></li></ul><p><strong><span>pvenode help</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvenode migrateall</span></strong><span> </span><target><span> [OPTIONS]</span>
<strong><span>pvenode migrateall</span></strong><span> </span><target><span> [选项]</span></p><p><span>Migrate all VMs and Containers.</span>
<span>迁移所有 VM 和容器。</span></p><ul><li><p><target><span>: </span><string><span> </span><target><span>： &lt;字符串&gt;</span></p><p><span>Target node. 目标节点。</span></p></li><li><p><span>--maxworkers </span><integer><span> (1 - N) --maxworkers </span><integer><span> （1 - N）</span></p><p><span>Maximal number of parallel migration job. If not set, uses’max_workers&#39; from datacenter.cfg. One of both must be set! 并行迁移作业的最大数量。如果未设置，则使用 datacenter.cfg 中的“max_workers”。必须设置两者之一！</span></p></li><li><p><span>--vms </span><string></p><p><span>Only consider Guests with these IDs. 仅考虑拥有这些 ID 的房客。</span></p></li><li><p><span>--with-local-disks </span><boolean></p><p><span>Enable live storage migration for local disk 为本地磁盘启用实时存储迁移</span></p></li></ul><p><strong><span>pvenode startall</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode startall</span></strong><span> [选项]</span></p><p><span>Start all VMs and containers located on this node (by default only those with onboot=1).</span>
<span>启动位于此节点上的所有 VM 和容器（默认情况下，仅启动 onboot=1 的 VM 和容器）。</span></p><ul><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> off) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 关闭）</span></p><p><span>Issue start command even if virtual guest have </span><em><span>onboot</span></em><span> not set or set to off. 即使虚拟客户机未设置 </span><em><span>onboot</span></em><span> 或将其设置为 off，也要发出 start 命令。</span></p></li><li><p><span>--vms </span><string></p><p><span>Only consider guests from this comma separated list of VMIDs. 仅考虑此逗号分隔的 VMID 列表中的来宾。</span></p></li></ul><p><strong><span>pvenode stopall</span></strong><span> [OPTIONS]</span>
<strong><span>pvenode stopall</span></strong><span> [选项]</span></p><p><span>Stop all VMs and Containers.</span>
<span>停止所有 VM 和容器。</span></p><ul><li><p><span>--force-stop </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --force-stop </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Force a hard-stop after the timeout. 超时后强制硬停止。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - 7200) (</span><em><span>default =</span></em><span> 180) --timeout </span><integer><span> （0 - 7200） （</span><em><span>默认值 =</span></em><span> 180）</span></p><p><span>Timeout for each guest shutdown task. Depending on force-stop, the shutdown gets then simply aborted or a hard-stop is forced. 每个客户机关闭任务的超时。根据强制停止，关机会简单地中止或强制硬停止。</span></p></li><li><p><span>--vms </span><string></p><p><span>Only consider Guests with these IDs. 仅考虑拥有这些 ID 的房客。</span></p></li></ul><p><strong><span>pvenode task list</span></strong><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvenode 任务列表</span></strong><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Read task list for one node (finished tasks).</span>
<span>读取一个节点的任务列表（已完成的任务）。</span></p><ul><li><p><span>--errors </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --errors </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Only list tasks with a status of ERROR. 仅列出状态为 ERROR 的任务。</span></p></li><li><p><span>--limit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 50) --limit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 50）</span></p><p><span>Only list this amount of tasks. 仅列出此数量的任务。</span></p></li><li><p><span>--since </span><integer><span> --自 </span><integer></p><p><span>Only list tasks since this UNIX epoch. 仅列出自此 UNIX 纪元以来的任务。</span></p></li><li><p><span>--source &lt;active | all | archive&gt; (</span><em><span>default =</span></em><span> archive) --source &lt;active | all | archive&gt;（</span><em><span>默认值 =</span></em><span> 存档）</span></p><p><span>List archived, active or all tasks. 列出已存档的任务、活动的任务或所有任务。</span></p></li><li><p><span>--start </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --start </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>List tasks beginning from this offset. 列出从此偏移量开始的任务。</span></p></li><li><p><span>--statusfilter </span><string></p><p><span>List of Task States that should be returned. 应返回的任务状态列表。</span></p></li><li><p><span>--typefilter </span><string></p><p><span>Only list tasks of this type (e.g., vzstart, vzdump). 仅列出此类型的任务（例如，vzstart、vzdump）。</span></p></li><li><p><span>--until </span><integer><span> --直到 </span><integer></p><p><span>Only list tasks until this UNIX epoch. 仅列出此 UNIX 纪元之前的任务。</span></p></li><li><p><span>--userfilter </span><string></p><p><span>Only list tasks from this user. 仅列出此用户的任务。</span></p></li><li><p><span>--vmid </span><integer><span> (100 - 999999999) --vmid </span><integer><span> （100 - 999999999）</span></p><p><span>Only list tasks for this VM. 仅列出此 VM 的任务。</span></p></li></ul><p><strong><span>pvenode task log</span></strong><span> </span><upid><span> [OPTIONS]</span>
<strong><span>pvenode 任务日志</span></strong><span> </span><upid><span> [选项]</span></p><p><span>Read task log. 读取任务日志。</span></p><ul><li><p><upid><span>: </span><string><span> </span><upid><span>： </span><string></p><p><span>The task’s unique ID. 任务的唯一 ID。</span></p></li><li><p><span>--download </span><boolean><span> --下载 </span><boolean></p><p><span>Whether the tasklog file should be downloaded. This parameter can’t be used in conjunction with other parameters 是否应下载 tasklog 文件。此参数不能与其他参数一起使用</span></p></li><li><p><span>--start </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --start </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Start at this line when reading the tasklog 读取任务日志时，从此行开始</span></p></li></ul><p><strong><span>pvenode task status</span></strong><span> </span><upid><span> [FORMAT_OPTIONS]</span>
<strong><span>pvenode 任务状态</span></strong><span> </span><upid><span> [FORMAT_OPTIONS]</span></p><p><span>Read task status. 读取任务状态。</span></p><ul><li><p><upid><span>: </span><string><span> </span><upid><span>： </span><string></p><p><span>The task’s unique ID. 任务的唯一 ID。</span></p></li></ul><p><strong><span>pvenode wakeonlan</span></strong><span> </span><node></p><p><span>Try to wake a node via </span><em><span>wake on LAN</span></em><span> network packet.</span>
<span>尝试通过 LAN 网络数据包</span><em><span>唤醒</span></em><span>来唤醒节点。</span></p><ul><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>target node for wake on LAN packet LAN 数据包唤醒的目标节点</span></p></li></ul><h3 id='227-pvesh---shell-interface-for-the-proxmox-ve-api-227-pvesh---proxmox-ve-api的shell接口'><span>22.7. </span><strong><span>pvesh</span></strong><span> - Shell interface for the Proxmox VE API 22.7. </span><strong><span>pvesh</span></strong><span> - Proxmox VE API的Shell接口 </span></h3><p><strong><span>pvesh</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span></p><p><strong><span>pvesh create</span></strong><span> &lt;api_path&gt; [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesh create</span></strong><span> &lt;api_path&gt; [选项] [FORMAT_OPTIONS]</span></p><p><span>Call API POST on &lt;api_path&gt;.</span>
<span>在 上调用 API POST。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--noproxy </span><boolean></p><p><span>Disable automatic proxying. 禁用自动代理。</span></p></li></ul><p><strong><span>pvesh delete</span></strong><span> &lt;api_path&gt; [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesh delete</span></strong><span> &lt;api_path&gt; [选项] [FORMAT_OPTIONS]</span></p><p><span>Call API DELETE on &lt;api_path&gt;.</span>
<span>在 上调用 API DELETE。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--noproxy </span><boolean></p><p><span>Disable automatic proxying. 禁用自动代理。</span></p></li></ul><p><strong><span>pvesh get</span></strong><span> &lt;api_path&gt; [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesh get</span></strong><span> &lt;api_path&gt; [选项] [FORMAT_OPTIONS]</span></p><p><span>Call API GET on &lt;api_path&gt;.</span>
<span>调用 API GET on 。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--noproxy </span><boolean></p><p><span>Disable automatic proxying. 禁用自动代理。</span></p></li></ul><p><strong><span>pvesh help</span></strong><span> [OPTIONS]</span>
<strong><span>pvesh 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvesh ls</span></strong><span> &lt;api_path&gt; [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesh ls</span></strong><span> &lt;api_path&gt; [选项] [FORMAT_OPTIONS]</span></p><p><span>List child objects on &lt;api_path&gt;.</span>
<span>列出 上的子对象。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--noproxy </span><boolean></p><p><span>Disable automatic proxying. 禁用自动代理。</span></p></li></ul><p><strong><span>pvesh set</span></strong><span> &lt;api_path&gt; [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pvesh set</span></strong><span> &lt;api_path&gt; [选项] [FORMAT_OPTIONS]</span></p><p><span>Call API PUT on &lt;api_path&gt;.</span>
<span>调用 API PUT on 。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--noproxy </span><boolean></p><p><span>Disable automatic proxying. 禁用自动代理。</span></p></li></ul><p><strong><span>pvesh usage</span></strong><span> &lt;api_path&gt; [OPTIONS]</span>
<strong><span>PVESH 使用率</span></strong><span> &lt;api_path&gt; [选项]</span></p><p><span>print API usage information for &lt;api_path&gt;.</span>
<span>打印 的 API 使用情况信息。</span></p><ul><li><p><span>&lt;api_path&gt;: </span><string><span> &lt;api_path&gt;： </span><string></p><p><span>API path. API 路径。</span></p></li><li><p><span>--command &lt;create | delete | get | set&gt;</span></p><p><span>API command. API 命令。</span></p></li><li><p><span>--returns </span><boolean><span> --返回 </span><boolean></p><p><span>Including schema for returned data. 包括返回数据的架构。</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><h3 id='228-qm---qemukvm-virtual-machine-manager-228-qm---qemukvm-虚拟机管理器'><span>22.8. </span><strong><span>qm</span></strong><span> - QEMU/KVM Virtual Machine Manager 22.8. </span><strong><span>qm</span></strong><span> - QEMU/KVM 虚拟机管理器 </span></h3><p><strong><span>qm</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>qm</span></strong><span> </span><command><span> [参数] [选项]</span></p><p><strong><span>qm agent QM 代理</span></strong></p><p><span>An alias for </span><em><span>qm guest cmd</span></em><span>.</span>
<em><span>qm guest cmd</span></em><span> 的别名。</span></p><p><strong><span>qm cleanup</span></strong><span> </span><vmid><span> </span><clean-shutdown><span> </span><guest-requested>
<strong><span>qm 清理</span></strong><span> </span><vmid><span> </span><clean-shutdown><span> </span><guest-requested></p><p><span>Cleans up resources like tap devices, vgpus, etc. Called after a vm shuts down, crashes, etc.</span>
<span>清理 tap 设备、vgpus 等资源。在 vm 关闭、崩溃等后调用。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><clean-shutdown><span>: </span><boolean><span> </span><clean-shutdown><span>： </span><boolean></p><p><span>Indicates if qemu shutdown cleanly. 指示 qemu 是否干净地关机。</span></p></li><li><p><guest-requested><span>: </span><boolean><span> </span><guest-requested><span>： </span><boolean></p><p><span>Indicates if the shutdown was requested by the guest or via qmp. 指示关闭是由客户机请求的，还是通过 qmp 请求的。</span></p></li></ul><p><strong><span>qm clone</span></strong><span> </span><vmid><span> </span><newid><span> [OPTIONS]</span>
<strong><span>qm clone</span></strong><span> </span><vmid><span> </span><newid><span> [选项]</span></p><p><span>Create a copy of virtual machine/template.</span>
<span>创建虚拟机/模板的副本。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><newid><span>: </span><integer><span> (100 - 999999999) </span><newid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>VMID for the clone. 克隆的 VMID。</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> clone limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 来自数据中心或存储配置的克隆限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the new VM. 新 VM 的说明。</span></p></li><li><p><span>--format &lt;qcow2 | raw | vmdk&gt;</span></p><p><span>Target format for file storage. Only valid for full clone. 文件存储的目标格式。仅对完整克隆有效。</span></p></li><li><p><span>--full </span><boolean></p><p><span>Create a full copy of all disks. This is always done when you clone a normal VM. For VM templates, we try to create a linked clone by default. 创建所有磁盘的完整副本。在克隆普通 VM 时，始终会执行此操作。对于 VM 模板，默认情况下，我们尝试创建链接克隆。</span></p></li><li><p><span>--name </span><string></p><p><span>Set a name for the new VM. 为新 VM 设置名称。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the new VM to the specified pool. 将新 VM 添加到指定的池中。</span></p></li><li><p><span>--snapname </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Target storage for full clone. 完整克隆的目标存储。</span></p></li><li><p><span>--target </span><string></p><p><span>Target node. Only allowed if the original VM is on shared storage. 目标节点。仅当原始 VM 位于共享存储上时才允许。</span></p></li></ul><p><strong><span>qm cloudinit dump</span></strong><span> </span><vmid><span> </span><type>
<strong><span>qm cloudinit 转储</span></strong><span> </span><vmid><span> </span><type></p><p><span>Get automatically generated cloudinit config.</span>
<span>获取自动生成的 cloudinit 配置。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><type><span>: &lt;meta | network | user&gt; </span><type><span>： &lt;meta | 网络 | 用户&gt;</span></p><p><span>Config type. 配置类型。</span></p></li></ul><p><strong><span>qm cloudinit pending</span></strong><span> </span><vmid>
<strong><span>qm cloudinit 挂起</span></strong><span> </span><vmid></p><p><span>Get the cloudinit configuration with both current and pending values.</span>
<span>获取包含当前值和挂起值的 cloudinit 配置。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm cloudinit update</span></strong><span> </span><vmid>
<strong><span>qm cloudinit 更新</span></strong><span> </span><vmid></p><p><span>Regenerate and change cloudinit config drive.</span>
<span>重新生成并更改 cloudinit 配置驱动器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm config</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm config</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Get the virtual machine configuration with pending configuration changes applied. Set the </span><em><span>current</span></em><span> parameter to get the current configuration instead.</span>
<span>获取应用了挂起配置更改的虚拟机配置。设置</span><em><span>当前</span></em><span>参数以获取当前配置。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--current </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --current </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Get current values (instead of pending values). 获取当前值（而不是挂起值）。</span></p></li><li><p><span>--snapshot </span><string></p><p><span>Fetch config values from given snapshot. 从给定的快照中获取配置值。</span></p></li></ul><p><strong><span>qm create</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm create</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Create or restore a virtual machine.</span>
<span>创建或还原虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--acpi </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --acpi </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable ACPI. 启用/禁用 ACPI。</span></p></li><li><p><span>--affinity </span><string><span> --亲和力 </span><string></p><p><span>List of host cores used to execute guest processes, for example: 0,5,8-11 用于执行客户机进程的主机核心列表，例如：0,5,8-11</span></p></li><li><p><span>--agent [enabled=]&lt;1|0&gt; [,freeze-fs-on-backup=&lt;1|0&gt;] [,fstrim_cloned_disks=&lt;1|0&gt;] [,type=&lt;virtio|isa&gt;] --agent [enabled=]&lt;1|0&gt; [，freeze-fs-on-backup=&lt;1|0&gt;] [，fstrim_cloned_disks=&lt;1|0&gt;] [，type=&lt;virtio|isa&gt;]</span></p><p><span>Enable/disable communication with the QEMU Guest Agent and its properties. 启用/禁用与 QEMU Guest Agent 及其属性的通信。</span></p></li><li><p><span>--arch &lt;aarch64 | x86_64&gt;</span></p><p><span>Virtual processor architecture. Defaults to the host. 虚拟处理器体系结构。默认为主机。</span></p></li><li><p><span>--archive </span><string></p><p><span>The backup archive. Either the file system path to a .tar or .vma file (use </span><em><span>-</span></em><span> to pipe data from stdin) or a proxmox storage backup volume identifier. 备份存档。.tar 或 .vma 文件的文件系统路径（使用 </span><em><span>-</span></em><span> 从 stdin 输送数据）或 proxmox 存储备份卷标识符。</span></p></li><li><p><span>--args </span><string></p><p><span>Arbitrary arguments passed to kvm. 传递给 KVM 的任意参数。</span></p></li><li><p><span>--audio0 device=&lt;ich9-intel-hda|intel-hda|AC97&gt; [,driver=&lt;spice|none&gt;] --audio0 device=&lt;ich9-intel-had|intel-had|AC97&gt; [，驱动程序=&lt;spice|none&gt;]</span></p><p><span>Configure a audio device, useful in combination with QXL/Spice. 配置音频设备，与 QXL/Spice 结合使用很有用。</span></p></li><li><p><span>--autostart </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --autostart </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Automatic restart after crash (currently ignored). 崩溃后自动重启（当前忽略）。</span></p></li><li><p><span>--balloon </span><integer><span> (0 - N) --气球 </span><integer><span> （0 - N）</span></p><p><span>Amount of target RAM for the VM in MiB. Using zero disables the ballon driver. VM 的目标 RAM 量（以 MiB 为单位）。使用零将禁用气球驱动器。</span></p></li><li><p><span>--bios &lt;ovmf | seabios&gt; (</span><em><span>default =</span></em><span> seabios) --bios &lt;ovmf | seabios&gt;（</span><em><span>默认值 =</span></em><span> seabios）</span></p><p><span>Select BIOS implementation. 选择 BIOS 实现。</span></p></li><li><p><span>--boot [[legacy=]&lt;[acdn]{1,4}&gt;] [,order=&lt;device[;device...]&gt;] --boot [[legacy=]&lt;[acdn]{1,4}&gt;] [，order=&lt;device[;设备...]&gt;]</span></p><p><span>Specify guest boot order. Use the </span><em><span>order=</span></em><span> sub-property as usage with no key or </span><em><span>legacy=</span></em><span> is deprecated. 指定客户机启动顺序。使用 </span><em><span>order=</span></em><span> 子属性，因为不带键或 </span><em><span>legacy=</span></em><span> 的用法已弃用。</span></p></li><li><p><span>--bootdisk (ide|sata|scsi|virtio)\d+ --bootdisk （IDE|SATA|SCSI|virtio）\d+</span></p><p><span>Enable booting from specified disk. Deprecated: Use </span><em><span>boot: order=foo;bar</span></em><span> instead. 启用从指定磁盘启动。已弃用：使用 </span><em><span>boot： order=foo;条</span></em><span>形图。</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> restore limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置还原限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--cdrom </span><volume><span> --cdrom &lt;卷&gt;</span></p><p><span>This is an alias for option -ide2 这是选项 -ide2 的别名</span></p></li><li><p><span>--cicustom [meta=</span><volume><span>] [,network=</span><volume><span>] [,user=</span><volume><span>] [,vendor=</span><volume><span>] --cicustom [meta=</span><volume><span>] [，network=</span><volume><span>] [，user=</span><volume><span>] [，vendor=</span><volume><span>]</span></p><p><span>cloud-init: Specify custom files to replace the automatically generated ones at start. cloud-init：指定自定义文件以替换开始时自动生成的文件。</span></p></li><li><p><span>--cipassword </span><password><span> --cipassword &lt;密码&gt;</span></p><p><span>cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords. cloud-init：用于分配用户的密码。通常不建议使用此工具。请改用 ssh 密钥。另请注意，较旧的 cloud-init 版本不支持哈希密码。</span></p></li><li><p><span>--citype &lt;configdrive2 | nocloud | opennebula&gt;</span></p><p><span>Specifies the cloud-init configuration format. The default depends on the configured operating system type (ostype. We use the nocloud format for Linux, and configdrive2 for windows. 指定 cloud-init 配置格式。默认值取决于配置的操作系统类型 （ostype.我们对 Linux 使用 nocloud 格式，对 Windows 使用 configdrive2 格式。</span></p></li><li><p><span>--ciupgrade </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --ciupgrade </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>cloud-init: do an automatic package upgrade after the first boot. cloud-init：首次启动后自动升级包。</span></p></li><li><p><span>--ciuser </span><string></p><p><span>cloud-init: User name to change ssh keys and password for instead of the image’s configured default user. cloud-init：用于更改 ssh 密钥和密码的用户名，而不是镜像配置的默认用户。</span></p></li><li><p><span>--cores </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --cores </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of cores per socket. 每个插槽的核心数。</span></p></li><li><p><span>--cpu [[cputype=]</span><string><span>] [,flags=&lt;+FLAG[;-FLAG...]&gt;] [,hidden=&lt;1|0&gt;] [,hv-vendor-id=</span><vendor-id><span>] [,phys-bits=&lt;8-64|host&gt;] [,reported-model=</span><enum><span>] --cpu [[cputype=]</span><string><span>] [，flags=&lt;+FLAG[;-FLAG...]&gt;] [，hidden=&lt;1|0&gt;] [，hv-vendor-id=</span><vendor-id><span>] [，phys-bits=&lt;8-64|host&gt;] [，reported-model=</span><enum><span>]</span></p><p><span>Emulated CPU type. 模拟 CPU 类型。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 128) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 128） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (1 - 262144) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （1 - 262144） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2. 在 cgroup v2 中，VM 的 CPU 权重将限制为 [1， 10000]。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the VM. Shown in the web-interface VM’s summary. This is saved as comment inside the configuration file. VM 的说明。显示在 Web 界面 VM 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--efidisk0 [file=]</span><volume><span> [,efitype=&lt;2m|4m&gt;] [,format=</span><enum><span>] [,import-from=</span><source volume><span>] [,pre-enrolled-keys=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --efidisk0 [file=]</span><volume><span> [，efitype=&lt;2m|4m&gt;] [，format=</span><enum><span>] [，import-from=</span><source volume><span>] [，pre-enrolled-keys=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 配置用于存储 EFI var 的磁盘。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。请注意，此处将忽略 SIZE_IN_GiB，并且默认的 EFI 变量将复制到卷中。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Allow to overwrite existing VM. 允许覆盖现有 VM。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP+cRH3sKHn9zHXU+MM7rtGeD33NDXzaZynZU9gcezpUw9%0AX6OzIyOakkfF4QEpPG6nDRNNEA2FSgK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pKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): archive 需要选项： archive</span></p></li><li><p><span>--freeze </span><boolean><span> --冻结 </span><boolean></p><p><span>Freeze CPU at startup (use </span><em><span>c</span></em><span> monitor command to start execution). 启动时冻结 CPU（使用 </span><em><span>c</span></em><span> monitor 命令开始执行）。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be executed during various steps in the vms lifetime. 将在 vms 生命周期的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [,device-id=</span><hex id><span>] [,legacy-igd=&lt;1|0&gt;] [,mapping=</span><mapping-id><span>] [,mdev=</span><string><span>] [,pcie=&lt;1|0&gt;] [,rombar=&lt;1|0&gt;] [,romfile=</span><string><span>] [,sub-device-id=</span><hex id><span>] [,sub-vendor-id=</span><hex id><span>] [,vendor-id=</span><hex id><span>] [,x-vga=&lt;1|0&gt;] --hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [，device-id=</span><hex id><span>] [，legacy-igd=&lt;1|0&gt;] [，mapping=</span><mapping-id><span>] [，mdev=</span><string><span>] [，pcie=&lt;1|0&gt;] [，rombar=&lt;1|0&gt;] [，romfile=</span><string><span>] [，sub-device-id=</span><hex id><span>] [，sub-vendor-id=</span><hex id><span>] [，vendor-id=</span><hex id><span>] [，x-vga=&lt;1|0&gt;]</span></p><p><span>Map host PCI devices into guest. 将主机 PCI 设备映射到客户机。</span></p></li><li><p><span>--hotplug </span><string><span> (</span><em><span>default =</span></em><span> network,disk,usb) --hotplug </span><string><span> （</span><em><span>默认 =</span></em><span> 网络，磁盘，usb）</span></p><p><span>Selectively enable hotplug features. This is a comma separated list of hotplug features: </span><em><span>network</span></em><span>, </span><em><span>disk</span></em><span>, </span><em><span>cpu</span></em><span>, </span><em><span>memory</span></em><span>, </span><em><span>usb</span></em><span> and </span><em><span>cloudinit</span></em><span>. Use </span><em><span>0</span></em><span> to disable hotplug completely. Using </span><em><span>1</span></em><span> as value is an alias for the default network,disk,usb. USB hotplugging is possible for guests with machine version &gt;= 7.1 and ostype l26 or windows &gt; 7. 有选择地启用热插拔功能。这是一个以逗号分隔的热插拔功能列表：</span><em><span>网络</span></em><span>、</span><em><span>磁盘</span></em><span>、</span><em><span>CPU</span></em><span>、</span><em><span>内存</span></em><span>、</span><em><span>USB</span></em><span> 和 </span><em><span>cloudinit</span></em><span>。使用 </span><em><span>0</span></em><span> 完全禁用热插拔。使用 </span><em><span>1</span></em><span> 作为值是默认网络、磁盘、USB 的别名。对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7 的乘客，可以使用 USB 热插拔。</span></p></li><li><p><span>--hugepages &lt;1024 | 2 | any&gt;</span></p><p><span>Enable/disable hugepages memory. 启用/禁用 hugepages 内存。</span></p></li><li><p><span>--ide[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,model=</span><model><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --IDE[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，model=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd=&lt;1 |0&gt;] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 IDE 硬盘或 CD-ROM（n 为 0 到 3）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--ipconfig[n] [gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,ip=&lt;IPv4Format/CIDR&gt;] [,ip6=&lt;IPv6Format/CIDR&gt;] --ipconfig[n] [gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，ip=&lt;IPv4Format/CIDR&gt;] [，ip6=&lt;IPv6Format/CIDR&gt;]</span></p><p><span>cloud-init: Specify IP addresses and gateways for the corresponding interface. cloud-init：指定对应接口的IP地址和网关。IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified. IP 地址使用 CIDR 表示法，网关是可选的，但需要指定的相同类型的 IP。The special string </span><em><span>dhcp</span></em><span> can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided. For IPv6 the special string </span><em><span>auto</span></em><span> can be used to use stateless autoconfiguration. This requires cloud-init 19.4 or newer. 特殊字符串 </span><em><span>dhcp</span></em><span> 可用于 IP 地址以使用 DHCP，在这种情况下，不应提供显式网关。对于 IPv6，可以使用特殊字符串 </span><em><span>auto</span></em><span> 来使用无状态自动配置。这需要 cloud-init 19.4 或更高版本。If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4. 如果启用了 cloud-init，且未指定 IPv4 和 IPv6 地址，则默认在 IPv4 上使用 dhcp。</span></p></li><li><p><span>--ivshmem size=</span><integer><span> [,name=</span><string><span>] --ivshmem size=</span><integer><span> [，name=</span><string><span>]</span></p><p><span>Inter-VM shared memory. Useful for direct communication between VMs, or to the host. 虚拟机间共享内存。对于虚拟机之间的直接通信或与主机的直接通信非常有用。</span></p></li><li><p><span>--keephugepages </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keephugepages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts. 与 hugepages 一起使用。如果启用，则 Hugepages 在 VM 关闭后不会被删除，并且可用于后续启动。</span></p></li><li><p><span>--keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt; --keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | 胡 | 是 | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt;</span></p><p><span>Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS. VNC 服务器的键盘布局。此选项通常不是必需的，通常最好在客户机操作系统中处理。</span></p></li><li><p><span>--kvm </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --kvm </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable KVM hardware virtualization. 启用/禁用 KVM 硬件虚拟化。</span></p></li><li><p><span>--live-restore </span><boolean></p><p><span>Start the VM immediately while importing or restoring in the background. 在后台导入或还原时立即启动 VM。</span></p></li><li><p><span>--localtime </span><boolean></p><p><span>Set the real time clock (RTC) to local time. This is enabled by default if the ostype indicates a Microsoft Windows OS. 将实时时钟 （RTC） 设置为本地时间。如果 ostype 指示 Microsoft Windows 操作系统，则默认情况下启用此功能。</span></p></li><li><p><span>--lock &lt;backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending&gt; --lock &lt;备份 | 克隆 | 创建 | 迁移 | 回滚 | 快照 | 快照删除 | 已暂停 | 挂起&gt;</span></p><p><span>Lock/unlock the VM. 锁定/解锁 VM。</span></p></li><li><p><span>--machine [[type=]</span><machine type><span>] [,viommu=&lt;intel|virtio&gt;] --machine [[type=]</span><machine type><span>] [，viommu=&lt;intel|virtio&gt;]</span></p><p><span>Specify the QEMU machine. 指定 QEMU 机器。</span></p></li><li><p><span>--memory [current=]</span><integer><span> --内存 [current=]</span><integer></p><p><span>Memory properties. 内存属性。</span></p></li><li><p><span>--migrate_downtime </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> 0.1) --migrate_downtime </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0.1）</span></p><p><span>Set maximum tolerated downtime (in seconds) for migrations. Should the migration not be able to converge in the very end, because too much newly dirtied RAM needs to be transferred, the limit will be increased automatically step-by-step until migration can converge. 为迁移设置允许的最大停机时间（以秒为单位）。如果迁移最终无法收敛，因为需要传输太多新污染的 RAM，则限制将自动逐步增加，直到迁移可以收敛。</span></p></li><li><p><span>--migrate_speed </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --migrate_speed </span><integer><span>（0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Set maximum speed (in MB/s) for migrations. Value 0 is no limit. 设置迁移的最大速度（以 MB/s 为单位）。值 0 没有限制。</span></p></li><li><p><span>--name </span><string></p><p><span>Set a name for the VM. Only used on the configuration web interface. 为 VM 设置名称。仅在配置 Web 界面上使用。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS服务器IP地址。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] [model=]</span><enum><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,link_down=&lt;1|0&gt;] [,macaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,mtu=</span><integer><span>] [,queues=</span><integer><span>] [,rate=</span><number><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,</span><model><span>=</span><macaddr><span>] --net[n] [model=]</span><enum><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，link_down=&lt;1|0&gt;] [，macaddr=&lt;XX：XX：XX：XX：XX：XX&gt;] [，mtu=</span><integer><span>] [，queues=</span><integer><span>] [，rate=</span><number><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，</span><model><span>=</span><macaddr><span>]</span></p><p><span>Specify network devices. 指定网络设备。</span></p></li><li><p><span>--numa </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --numa </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable NUMA. 启用/禁用 NUMA。</span></p></li><li><p><span>--numa[n] cpus=&lt;id[-id];...&gt; [,hostnodes=&lt;id[-id];...&gt;] [,memory=</span><number><span>] [,policy=&lt;preferred|bind|interleave&gt;] --numa[n] cpus=&lt;id[-id];...&gt; [，hostnodes=&lt;id[-id];...&gt;] [，memory=</span><number><span>] [，policy=&lt;preferred|bind|interleave&gt;]</span></p><p><span>NUMA topology. NUMA 拓扑。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a VM will be started during system bootup. 指定在系统启动期间是否启动 VM。</span></p></li><li><p><span>--ostype &lt;l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win11 | win7 | win8 | wvista | wxp&gt; --ostype &lt;l24 | l26 | 其他 | Solaris | W2K | W2K3 | W2K8 | Win10 | Win11 | Win7 | Win8 | wvista | wxp&gt;</span></p><p><span>Specify guest operating system. 指定客户机操作系统。</span></p></li><li><p><span>--parallel[n] /dev/parport\d+|/dev/usb/lp\d+</span></p><p><span>Map host parallel devices (n is 0 to 2). 映射主机并行设备（n 为 0 到 2）。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the VM to the specified pool. 将 VM 添加到指定的池中。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the VM. This will disable the remove VM and remove disk operations. 设置 VM 的保护标志。这将禁用删除 VM 和删除磁盘操作。</span></p></li><li><p><span>--reboot </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --reboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Allow reboot. If set to </span><em><span>0</span></em><span> the VM exit on reboot. 允许重新启动。如果设置为 </span><em><span>0</span></em><span>，则 VM 将在重新启动时退出。</span></p></li><li><p><span>--rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [,max_bytes=</span><integer><span>] [,period=</span><integer><span>] --rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [，max_bytes=</span><integer><span>] [，period=</span><integer><span>]</span></p><p><span>Configure a VirtIO-based Random Number Generator. 配置基于 VirtIO 的随机数生成器。</span></p></li><li><p><span>--sata[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --sata[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd=&lt;1 |0&gt;] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 SATA 硬盘或 CD-ROM（n 为 0 到 5）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--scsi[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,product=</span><product><span>] [,queues=</span><integer><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,scsiblock=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,vendor=</span><vendor><span>] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --scsi[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，product=] [，queues=] [，replicate&lt;1 |0&gt;=] [，rerror=] [，ro=&lt;1 |0&gt;] [，scsiblock=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd&lt;1 |0&gt;=] [，trans=] [，供应商=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 SCSI 硬盘或 CD-ROM（n 为 0 到 30）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt; (</span><em><span>default =</span></em><span> lsi) --scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt;（</span><em><span>默认值 =</span></em><span> lsi）</span></p><p><span>SCSI controller model SCSI 控制器型号</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS搜索域。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--serial[n] (/dev/.+|socket) --serial[n] （/dev/.+|套接字）</span></p><p><span>Create a serial device inside the VM (n is 0 to 3) 在 VM 内部创建串行设备（n 为 0 到 3）</span></p></li><li><p><span>--shares </span><integer><span> (0 - 50000) (</span><em><span>default =</span></em><span> 1000) --shares </span><integer><span> （0 - 50000） （</span><em><span>默认值 =</span></em><span> 1000）</span></p><p><span>Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd. 用于自动膨胀的内存份额量。数字越大，此 VM 获得的内存就越多。该数字与所有其他正在运行的 VM 的权重相关。使用零将禁用自动膨胀。自动气球是由 pvestatd 完成的。</span></p></li><li><p><span>--smbios1 [base64=&lt;1|0&gt;] [,family=</span><Base64 encoded string><span>] [,manufacturer=</span><Base64 encoded string><span>] [,product=</span><Base64 encoded string><span>] [,serial=</span><Base64 encoded string><span>] [,sku=</span><Base64 encoded string><span>] [,uuid=</span><UUID><span>] [,version=</span><Base64 encoded string><span>] --smbios1 [base64=&lt;1|0&gt;] [，family=&lt;Base64 编码字符串&gt;] [，manufacturer=&lt;Base64 编码字符串&gt;] [，product=&lt;Base64 编码字符串&gt;] [，serial=&lt;Base64 编码字符串&gt;] [，sku=&lt;Base64 编码字符串&gt;] [，uuid=</span><UUID><span>] [，version=&lt;Base64 编码字符串&gt;]</span></p><p><span>Specify SMBIOS type 1 fields. 指定 SMBIOS 类型 1 字段。</span></p></li><li><p><span>--smp </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --smp </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPUs. Please use option -sockets instead. CPU 的数量。请改用选项 -sockets。</span></p></li><li><p><span>--sockets </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --sockets </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPU sockets. CPU 插槽的数量。</span></p></li><li><p><span>--spice_enhancements [foldersharing=&lt;1|0&gt;] [,videostreaming=&lt;off|all|filter&gt;] --spice_enhancements [foldersharing=&lt;1|0&gt;] [，videostreaming=&lt;off|all|filter&gt;]</span></p><p><span>Configure additional enhancements for SPICE. 配置 SPICE 的其他增强功能。</span></p></li><li><p><span>--sshkeys </span><filepath><span> --sshkeys &lt;文件路径&gt;</span></p><p><span>cloud-init: Setup public SSH keys (one key per line, OpenSSH format). cloud-init：设置公有 SSH 密钥（每行一个密钥，OpenSSH 格式）。</span></p></li><li><p><span>--start </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --start </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Start VM after it was created successfully. 成功创建 VM 后启动 VM。</span></p></li><li><p><span>--startdate (now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS) (</span><em><span>default =</span></em><span> now) --startdate （现在 |YYYY-MM-DD |YYYY-MM-DDTHH：MM：SS） </span><em><span>（默认值 =</span></em><span> 现在）</span></p><p><span>Set the initial date of the real time clock. Valid format for date are:&#39;now&#39; or </span><em><span>2006-06-17T16:01:21</span></em><span> or </span><em><span>2006-06-17</span></em><span>. 设置实时时钟的初始日期。日期的有效格式为：“现在”或 </span><em><span>2006-06-17T16：01：21</span></em><span> 或 </span><em><span>2006-06-17</span></em><span>。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Default storage. 默认存储。</span></p></li><li><p><span>--tablet </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --tablet </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable the USB tablet device. 启用/禁用 USB 平板电脑设备。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the VM. This is only meta information. VM 的标记。这只是元信息。</span></p></li><li><p><span>--tdf </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --tdf </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable time drift fix. 启用/禁用时间漂移修复。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--tpmstate0 [file=]</span><volume><span> [,import-from=</span><source volume><span>] [,size=</span><DiskSize><span>] [,version=&lt;v1.2|v2.0&gt;] --tpmstate0 [file=]</span><volume><span> [，import-from=</span><source volume><span>] [，size=</span><DiskSize><span>] [，version=&lt;v1.2|v2.0&gt;]</span></p><p><span>Configure a Disk for storing TPM state. The format is fixed to </span><em><span>raw</span></em><span>. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 配置用于存储 TPM 状态的磁盘。格式固定为</span><em><span>原始</span></em><span>格式。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。请注意，此处忽略 SIZE_IN_GiB，而是使用 4 MiB。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--unique </span><boolean><span> --唯一 </span><boolean></p><p><span>Assign a unique random ethernet address. 分配一个唯一的随机以太网地址。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeH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ECKqK4RBxoE0W6gvGCcEjaOEAwEQWdpgbGxujt7erOLO2mk3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): archive 需要选项： archive</span></p></li><li><p><span>--unused[n] [file=]</span><volume></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li><li><p><span>--usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [,mapping=</span><mapping-id><span>] [,usb3=&lt;1|0&gt;] --usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [，mapping=</span><mapping-id><span>] [，usb3=&lt;1|0&gt;]</span></p><p><span>Configure an USB device (n is 0 to 4, for machine version &gt;= 7.1 and ostype l26 or windows &gt; 7, n can be up to 14). 配置 USB 设备（n 为 0 到 4，对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7，n 最多为 14）。</span></p></li><li><p><span>--vcpus </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 0) --vcpus </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Number of hotplugged vcpus. 热插拔的 vCPU 数量。</span></p></li><li><p><span>--vga [[type=]</span><enum><span>] [,clipboard=</span><vnc><span>] [,memory=</span><integer><span>] --vga [[type=]</span><enum><span>] [，clipboard=</span><vnc><span>] [，memory=</span><integer><span>]</span></p><p><span>Configure the VGA hardware. 配置 VGA 硬件。</span></p></li><li><p><span>--virtio[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] --virtio[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，媒体=] [，复制=&lt;1 |0&gt;] [，rerror=] [，ro=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，trans=] [，werror=]</span></p><p><span>Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 VIRTIO 硬盘（n 为 0 到 15）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--vmgenid </span><UUID><span> (</span><em><span>default =</span></em><span> 1 (autogenerated)) --vmgenid </span><UUID><span>（</span><em><span>默认值 =</span></em><span> 1（自动生成））</span></p><p><span>Set VM Generation ID. Use </span><em><span>1</span></em><span> to autogenerate on create or update, pass </span><em><span>0</span></em><span> to disable explicitly. 设置 VM 生成 ID。使用 </span><em><span>1</span></em><span> 在创建或更新时自动生成，使用 </span><em><span>0</span></em><span> 显式禁用。</span></p></li><li><p><span>--vmstatestorage </span><storage ID><span> --vmstatestorage &lt;存储 ID&gt;</span></p><p><span>Default storage for VM state volumes/files. VM 状态卷/文件的默认存储。</span></p></li><li><p><span>--watchdog [[model=]&lt;i6300esb|ib700&gt;] [,action=</span><enum><span>] --看门狗 [[model=]&lt;i6300esb|ib700&gt;] [，action=</span><enum><span>]</span></p><p><span>Create a virtual hardware watchdog device. 创建虚拟硬件看门狗设备。</span></p></li></ul><p><strong><span>qm delsnapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>qm delsnapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Delete a VM snapshot. 删除 VM 快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--force </span><boolean></p><p><span>For removal from config file, even if removing disk snapshots fails. 用于从配置文件中删除，即使删除磁盘快照失败。</span></p></li></ul><p><strong><span>qm destroy</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm destroy</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules</span>
<span>销毁 VM 和所有已用/拥有的卷。删除任何特定于 VM 的权限和防火墙规则</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--destroy-unreferenced-disks </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --destroy-unreferenced-disks </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If set, destroy additionally all disks not referenced in the config but with a matching VMID from all enabled storages. 如果设置了，则从所有已启用的存储中额外销毁配置中未引用但具有匹配 VMID 的所有磁盘。</span></p></li><li><p><span>--purge </span><boolean><span> --清除 </span><boolean></p><p><span>Remove VMID from configurations, like backup &amp; replication jobs and HA. 从配置中删除 VMID，例如备份和复制作业以及 HA。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>qm disk import</span></strong><span> </span><vmid><span> </span><source><span> </span><storage><span> [OPTIONS]</span>
<strong><span>qm 磁盘导入</span></strong><span> </span><vmid><span> </span><source><span> </span><storage><span> [选项]</span></p><p><span>Import an external disk image as an unused disk in a VM. The image format has to be supported by qemu-img(1).</span>
<span>将外部磁盘映像导入为 VM 中未使用的磁盘。qemu-img（1） 必须支持图像格式。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><source><span>: </span><string><span> </span><source><span>： </span><string></p><p><span>Path to the disk image to import 要导入的磁盘映像的路径</span></p></li><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>Target storage ID 目标存储 ID</span></p></li><li><p><span>--format &lt;qcow2 | raw | vmdk&gt;</span></p><p><span>Target format 目标格式</span></p></li></ul><p><strong><span>qm disk move</span></strong><span> </span><vmid><span> </span><disk><span> [</span><storage><span>] [OPTIONS]</span>
<strong><span>qm 磁盘移动</span></strong><span> </span><vmid><span> </span><disk><span> [</span><storage><span>] [选项]</span></p><p><span>Move volume to different storage or to a different VM.</span>
<span>将卷移动到不同的存储或不同的 VM。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><disk><span>: &lt;efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9&gt; </span><disk><span>：</span></p><p><span>The disk you want to move. 要移动的磁盘。</span></p></li><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>Target storage. 目标存储。</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> move limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置移动限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--delete </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --delete </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Delete the original disk after successful copy. By default the original disk is kept as unused disk. 复制成功后删除原始磁盘。默认情况下，原始磁盘将保留为未使用的磁盘。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1&quot; .&quot; digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1“ .” 摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--format &lt;qcow2 | raw | vmdk&gt;</span></p><p><span>Target Format. 目标格式。</span></p></li><li><p><span>--target-digest </span><string></p><p><span>Prevent changes if the current config file of the target VM has a&quot; .&quot; different SHA1 digest. This can be used to detect concurrent modifications. 如果目标 VM 的当前配置文件具有“ .”不同的 SHA1 摘要，则阻止更改。这可用于检测并发修改。</span></p></li><li><p><span>--target-disk --目标磁盘 &lt;efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9&gt;</span></p><p><span>The config key the disk will be moved to on the target VM (for example, ide0 or scsi1). Default is the source disk key. 磁盘将移动到目标 VM 上的配置键（例如，ide0 或 scsi1）。默认值为源磁盘密钥。</span></p></li><li><p><span>--target-vmid </span><integer><span> (100 - 999999999) --target-vmid </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm disk rescan</span></strong><span> [OPTIONS]</span>
<strong><span>QM 磁盘重新扫描</span></strong><span> [选项]</span></p><p><span>Rescan all storages and update disk sizes and unused disk images.</span>
<span>重新扫描所有存储并更新磁盘大小和未使用的磁盘映像。</span></p><ul><li><p><span>--dryrun </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --dryrun </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not actually write changes out to VM config(s). 实际上不要将更改写出到 VM 配置中。</span></p></li><li><p><span>--vmid </span><integer><span> (100 - 999999999) --vmid </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm disk resize</span></strong><span> </span><vmid><span> </span><disk><span> </span><size><span> [OPTIONS]</span>
<strong><span>qm 磁盘调整大小</span></strong><span> </span><vmid><span> </span><disk><span> </span><size><span> [选项]</span></p><p><span>Extend volume size. 扩展卷大小。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><disk><span>: &lt;efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9&gt; </span><disk><span>：</span></p><p><span>The disk you want to resize. 要调整大小的磁盘。</span></p></li><li><p><size><span>: </span><span>+</span><span>?\d+(</span><span>.</span><span>\d+)?[KMGT]? </span><size><span>： </span><span>+</span><span>？\d+（</span><span>.</span><span>\d+）？[KMGT]？</span></p><p><span>The new size. With the + sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported. 新尺寸。使用 + 号时，该值将添加到体积的实际大小时，如果没有 + 号，该值将被视为绝对值。不支持缩小磁盘大小。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>qm disk unlink</span></strong><span> </span><vmid><span> --idlist </span><string><span> [OPTIONS]</span>
<strong><span>qm 磁盘取消链接</span></strong><span> </span><vmid><span> --idlist </span><string><span> [选项]</span></p><p><span>Unlink/delete disk images.</span>
<span>取消链接/删除磁盘映像。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called </span><em><span>unused[n]</span></em><span>, which contains the volume ID. Unlink of unused[n] always cause physical removal. 强制物理移除。如果没有这个，我们只需从配置文件中删除磁盘，并创建一个名为 </span><em><span>unused[n]</span></em><span> 的附加配置条目，其中包含卷 ID。 取消未使用的 [n] 链接总是会导致物理删除。</span></p></li><li><p><span>--idlist </span><string></p><p><span>A list of disk IDs you want to delete. 要删除的磁盘 ID 列表。</span></p></li></ul><p><strong><span>qm guest cmd</span></strong><span> </span><vmid><span> </span><command></p><p><span>Execute QEMU Guest Agent commands.</span>
<span>执行 QEMU Guest Agent 命令。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><command><span>: &lt;fsfreeze-freeze | fsfreeze-status | fsfreeze-thaw | fstrim | get-fsinfo | get-host-name | get-memory-block-info | get-memory-blocks | get-osinfo | get-time | get-timezone | get-users | get-vcpus | info | network-get-interfaces | ping | shutdown | suspend-disk | suspend-hybrid | suspend-ram&gt; </span><command><span>： &lt;fsfreeze-freeze | fsfreeze-status | fsfreeze-thaw | fstrim | get-fsinfo | get-host-name | get-memory-block-info | get-memory-blocks | get-osinfo | get-time | get-timezone | get-users | get-vcpus | info | network-get-interfaces | ping | shutdown | suspend-disk | suspend-hybrid | suspend-ram&gt;</span></p><p><span>The QGA command. QGA 命令。</span></p></li></ul><p><strong><span>qm guest exec</span></strong><span> </span><vmid><span> [</span><extra-args><span>] [OPTIONS]</span>
<strong><span>qm guest exec</span></strong><span> </span><vmid><span> [</span><extra-args><span>] [选项]</span></p><p><span>Executes the given command via the guest agent</span>
<span>通过客户机代理执行给定的命令</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><extra-args><span>: </span><array><span> </span><extra-args><span>： </span><array></p><p><span>Extra arguments as array 作为数组的额外参数</span></p></li><li><p><span>--pass-stdin </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --pass-stdin </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>When set, read STDIN until EOF and forward to guest agent via </span><em><span>input-data</span></em><span> (usually treated as STDIN to process launched by guest agent). Allows maximal 1 MiB. 设置后，读取 STDIN 直到 EOF 并通过</span><em><span>输入数据</span></em><span>转发到客户代理（通常被视为 STDIN 以处理客户代理启动的流程）。允许最大 1 MiB。</span></p></li><li><p><span>--synchronous </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --synchronous </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>If set to off, returns the pid immediately instead of waiting for the commmand to finish or the timeout. 如果设置为 off，则立即返回 pid，而不是等待命令完成或超时。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 30) --timeout </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 30）</span></p><p><span>The maximum time to wait synchronously for the command to finish. If reached, the pid gets returned. Set to 0 to deactivate 同步等待命令完成的最长时间。如果达到，则返回 pid。设置为 0 可停用</span></p></li></ul><p><strong><span>qm guest exec-status</span></strong><span> </span><vmid><span> </span><pid></p><p><span>Gets the status of the given pid started by the guest-agent</span>
<span>获取由 guest-agent 启动的给定 pid 的状态</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><pid><span>: </span><integer><span> </span><pid><span>： </span><integer></p><p><span>The PID to query 要查询的 PID</span></p></li></ul><p><strong><span>qm guest passwd</span></strong><span> </span><vmid><span> </span><username><span> [OPTIONS]</span>
<strong><span>qm guest passwd</span></strong><span> </span><vmid><span> </span><username><span> [选项]</span></p><p><span>Sets the password for the given user to the given password</span>
<span>将给定用户的密码设置为给定的密码</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><username><span>: </span><string><span> &lt;用户名&gt;： </span><string></p><p><span>The user to set the password for. 要为其设置密码的用户。</span></p></li><li><p><span>--crypted </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --crypted </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>set to 1 if the password has already been passed through crypt() 如果密码已通过 crypt（） 传递，则设置为 1</span></p></li></ul><p><strong><span>qm help</span></strong><span> [OPTIONS]</span>
<strong><span>qm help</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>qm import</span></strong><span> </span><vmid><span> </span><source><span> --storage </span><string><span> [OPTIONS]</span>
<strong><span>qm import</span></strong><span> </span><vmid><span> </span><source><span> --storage </span><string><span> [选项]</span></p><p><span>Import a foreign virtual guest from a supported import source, such as an ESXi storage.</span>
<span>从受支持的导入源（例如 ESXi 存储）导入外部虚拟客户机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><source><span>: </span><string><span> </span><source><span>： </span><string></p><p><span>The import source volume id. 导入源卷 ID。</span></p></li><li><p><span>--acpi </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --acpi </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable ACPI. 启用/禁用 ACPI。</span></p></li><li><p><span>--affinity </span><string><span> --亲和力 </span><string></p><p><span>List of host cores used to execute guest processes, for example: 0,5,8-11 用于执行客户机进程的主机核心列表，例如：0,5,8-11</span></p></li><li><p><span>--agent [enabled=]&lt;1|0&gt; [,freeze-fs-on-backup=&lt;1|0&gt;] [,fstrim_cloned_disks=&lt;1|0&gt;] [,type=&lt;virtio|isa&gt;] --agent [enabled=]&lt;1|0&gt; [，freeze-fs-on-backup=&lt;1|0&gt;] [，fstrim_cloned_disks=&lt;1|0&gt;] [，type=&lt;virtio|isa&gt;]</span></p><p><span>Enable/disable communication with the QEMU Guest Agent and its properties. 启用/禁用与 QEMU Guest Agent 及其属性的通信。</span></p></li><li><p><span>--arch &lt;aarch64 | x86_64&gt;</span></p><p><span>Virtual processor architecture. Defaults to the host. 虚拟处理器体系结构。默认为主机。</span></p></li><li><p><span>--args </span><string></p><p><span>Arbitrary arguments passed to kvm. 传递给 KVM 的任意参数。</span></p></li><li><p><span>--audio0 device=&lt;ich9-intel-hda|intel-hda|AC97&gt; [,driver=&lt;spice|none&gt;] --audio0 device=&lt;ich9-intel-had|intel-had|AC97&gt; [，驱动程序=&lt;spice|none&gt;]</span></p><p><span>Configure a audio device, useful in combination with QXL/Spice. 配置音频设备，与 QXL/Spice 结合使用很有用。</span></p></li><li><p><span>--autostart </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --autostart </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Automatic restart after crash (currently ignored). 崩溃后自动重启（当前忽略）。</span></p></li><li><p><span>--balloon </span><integer><span> (0 - N) --气球 </span><integer><span> （0 - N）</span></p><p><span>Amount of target RAM for the VM in MiB. Using zero disables the ballon driver. VM 的目标 RAM 量（以 MiB 为单位）。使用零将禁用气球驱动器。</span></p></li><li><p><span>--bios &lt;ovmf | seabios&gt; (</span><em><span>default =</span></em><span> seabios) --bios &lt;ovmf | seabios&gt;（</span><em><span>默认值 =</span></em><span> seabios）</span></p><p><span>Select BIOS implementation. 选择 BIOS 实现。</span></p></li><li><p><span>--boot [[legacy=]&lt;[acdn]{1,4}&gt;] [,order=&lt;device[;device...]&gt;] --boot [[legacy=]&lt;[acdn]{1,4}&gt;] [，order=&lt;device[;设备...]&gt;]</span></p><p><span>Specify guest boot order. Use the </span><em><span>order=</span></em><span> sub-property as usage with no key or </span><em><span>legacy=</span></em><span> is deprecated. 指定客户机启动顺序。使用 </span><em><span>order=</span></em><span> 子属性，因为不带键或 </span><em><span>legacy=</span></em><span> 的用法已弃用。</span></p></li><li><p><span>--bootdisk (ide|sata|scsi|virtio)\d+ --bootdisk （IDE|SATA|SCSI|virtio）\d+</span></p><p><span>Enable booting from specified disk. Deprecated: Use </span><em><span>boot: order=foo;bar</span></em><span> instead. 启用从指定磁盘启动。已弃用：使用 </span><em><span>boot： order=foo;条</span></em><span>形图。</span></p></li><li><p><span>--cdrom </span><volume><span> --cdrom &lt;卷&gt;</span></p><p><span>This is an alias for option -ide2 这是选项 -ide2 的别名</span></p></li><li><p><span>--cicustom [meta=</span><volume><span>] [,network=</span><volume><span>] [,user=</span><volume><span>] [,vendor=</span><volume><span>] --cicustom [meta=</span><volume><span>] [，network=</span><volume><span>] [，user=</span><volume><span>] [，vendor=</span><volume><span>]</span></p><p><span>cloud-init: Specify custom files to replace the automatically generated ones at start. cloud-init：指定自定义文件以替换开始时自动生成的文件。</span></p></li><li><p><span>--cipassword </span><string></p><p><span>cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords. cloud-init：用于分配用户的密码。通常不建议使用此工具。请改用 ssh 密钥。另请注意，较旧的 cloud-init 版本不支持哈希密码。</span></p></li><li><p><span>--citype &lt;configdrive2 | nocloud | opennebula&gt;</span></p><p><span>Specifies the cloud-init configuration format. The default depends on the configured operating system type (ostype. We use the nocloud format for Linux, and configdrive2 for windows. 指定 cloud-init 配置格式。默认值取决于配置的操作系统类型 （ostype.我们对 Linux 使用 nocloud 格式，对 Windows 使用 configdrive2 格式。</span></p></li><li><p><span>--ciupgrade </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --ciupgrade </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>cloud-init: do an automatic package upgrade after the first boot. cloud-init：首次启动后自动升级包。</span></p></li><li><p><span>--ciuser </span><string></p><p><span>cloud-init: User name to change ssh keys and password for instead of the image’s configured default user. cloud-init：用于更改 ssh 密钥和密码的用户名，而不是镜像配置的默认用户。</span></p></li><li><p><span>--cores </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --cores </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of cores per socket. 每个插槽的核心数。</span></p></li><li><p><span>--cpu [[cputype=]</span><string><span>] [,flags=&lt;+FLAG[;-FLAG...]&gt;] [,hidden=&lt;1|0&gt;] [,hv-vendor-id=</span><vendor-id><span>] [,phys-bits=&lt;8-64|host&gt;] [,reported-model=</span><enum><span>] --cpu [[cputype=]</span><string><span>] [，flags=&lt;+FLAG[;-FLAG...]&gt;] [，hidden=&lt;1|0&gt;] [，hv-vendor-id=</span><vendor-id><span>] [，phys-bits=&lt;8-64|host&gt;] [，reported-model=</span><enum><span>]</span></p><p><span>Emulated CPU type. 模拟 CPU 类型。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 128) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 128） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (1 - 262144) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （1 - 262144） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2. 在 cgroup v2 中，VM 的 CPU 权重将限制为 [1， 10000]。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the VM. Shown in the web-interface VM’s summary. This is saved as comment inside the configuration file. VM 的说明。显示在 Web 界面 VM 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--dryrun </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --dryrun </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Show the create command and exit without doing anything. 显示 create 命令并退出而不执行任何操作。</span></p></li><li><p><span>--efidisk0 [file=]</span><volume><span> [,efitype=&lt;2m|4m&gt;] [,format=</span><enum><span>] [,pre-enrolled-keys=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --efidisk0 [file=]</span><volume><span> [，efitype=&lt;2m|4m&gt;] [，format=</span><enum><span>] [，pre-enrolled-keys=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Configure a disk for storing EFI vars. 配置用于存储 EFI var 的磁盘。</span></p></li><li><p><span>--format &lt;qcow2 | raw | vmdk&gt;</span></p><p><span>Target format 目标格式</span></p></li><li><p><span>--freeze </span><boolean><span> --冻结 </span><boolean></p><p><span>Freeze CPU at startup (use </span><em><span>c</span></em><span> monitor command to start execution). 启动时冻结 CPU（使用 </span><em><span>c</span></em><span> monitor 命令开始执行）。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be executed during various steps in the vms lifetime. 将在 vms 生命周期的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [,device-id=</span><hex id><span>] [,legacy-igd=&lt;1|0&gt;] [,mapping=</span><mapping-id><span>] [,mdev=</span><string><span>] [,pcie=&lt;1|0&gt;] [,rombar=&lt;1|0&gt;] [,romfile=</span><string><span>] [,sub-device-id=</span><hex id><span>] [,sub-vendor-id=</span><hex id><span>] [,vendor-id=</span><hex id><span>] [,x-vga=&lt;1|0&gt;] --hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [，device-id=</span><hex id><span>] [，legacy-igd=&lt;1|0&gt;] [，mapping=</span><mapping-id><span>] [，mdev=</span><string><span>] [，pcie=&lt;1|0&gt;] [，rombar=&lt;1|0&gt;] [，romfile=</span><string><span>] [，sub-device-id=</span><hex id><span>] [，sub-vendor-id=</span><hex id><span>] [，vendor-id=</span><hex id><span>] [，x-vga=&lt;1|0&gt;]</span></p><p><span>Map host PCI devices into guest. 将主机 PCI 设备映射到客户机。</span></p></li><li><p><span>--hotplug </span><string><span> (</span><em><span>default =</span></em><span> network,disk,usb) --hotplug </span><string><span> （</span><em><span>默认 =</span></em><span> 网络，磁盘，usb）</span></p><p><span>Selectively enable hotplug features. This is a comma separated list of hotplug features: </span><em><span>network</span></em><span>, </span><em><span>disk</span></em><span>, </span><em><span>cpu</span></em><span>, </span><em><span>memory</span></em><span>, </span><em><span>usb</span></em><span> and </span><em><span>cloudinit</span></em><span>. Use </span><em><span>0</span></em><span> to disable hotplug completely. Using </span><em><span>1</span></em><span> as value is an alias for the default network,disk,usb. USB hotplugging is possible for guests with machine version &gt;= 7.1 and ostype l26 or windows &gt; 7. 有选择地启用热插拔功能。这是一个以逗号分隔的热插拔功能列表：</span><em><span>网络</span></em><span>、</span><em><span>磁盘</span></em><span>、</span><em><span>CPU</span></em><span>、</span><em><span>内存</span></em><span>、</span><em><span>USB</span></em><span> 和 </span><em><span>cloudinit</span></em><span>。使用 </span><em><span>0</span></em><span> 完全禁用热插拔。使用 </span><em><span>1</span></em><span> 作为值是默认网络、磁盘、USB 的别名。对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7 的乘客，可以使用 USB 热插拔。</span></p></li><li><p><span>--hugepages &lt;1024 | 2 | any&gt;</span></p><p><span>Enable/disable hugepages memory. 启用/禁用 hugepages 内存。</span></p></li><li><p><span>--ide[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,model=</span><model><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --IDE[n] [文件=] [，aio=] [，备份=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] </span>[<span>，iops_wr=</span>][，iops_wr_max=]<span> [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，model=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd&lt;1 |0&gt;=] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as IDE hard disk or CD-ROM (n is 0 to 3). 使用卷作为 IDE 硬盘或 CD-ROM（n 为 0 到 3）。</span></p></li><li><p><span>--ipconfig[n] [gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,ip=&lt;IPv4Format/CIDR&gt;] [,ip6=&lt;IPv6Format/CIDR&gt;] --ipconfig[n] [gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，ip=&lt;IPv4Format/CIDR&gt;] [，ip6=&lt;IPv6Format/CIDR&gt;]</span></p><p><span>cloud-init: Specify IP addresses and gateways for the corresponding interface. cloud-init：指定对应接口的IP地址和网关。IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified. IP 地址使用 CIDR 表示法，网关是可选的，但需要指定的相同类型的 IP。The special string </span><em><span>dhcp</span></em><span> can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided. For IPv6 the special string </span><em><span>auto</span></em><span> can be used to use stateless autoconfiguration. This requires cloud-init 19.4 or newer. 特殊字符串 </span><em><span>dhcp</span></em><span> 可用于 IP 地址以使用 DHCP，在这种情况下，不应提供显式网关。对于 IPv6，可以使用特殊字符串 </span><em><span>auto</span></em><span> 来使用无状态自动配置。这需要 cloud-init 19.4 或更高版本。If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4. 如果启用了 cloud-init，且未指定 IPv4 和 IPv6 地址，则默认在 IPv4 上使用 dhcp。</span></p></li><li><p><span>--ivshmem size=</span><integer><span> [,name=</span><string><span>] --ivshmem size=</span><integer><span> [，name=</span><string><span>]</span></p><p><span>Inter-VM shared memory. Useful for direct communication between VMs, or to the host. 虚拟机间共享内存。对于虚拟机之间的直接通信或与主机的直接通信非常有用。</span></p></li><li><p><span>--keephugepages </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keephugepages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts. 与 hugepages 一起使用。如果启用，则 Hugepages 在 VM 关闭后不会被删除，并且可用于后续启动。</span></p></li><li><p><span>--keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt; --keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | 胡 | 是 | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt;</span></p><p><span>Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS. VNC 服务器的键盘布局。此选项通常不是必需的，通常最好在客户机操作系统中处理。</span></p></li><li><p><span>--kvm </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --kvm </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable KVM hardware virtualization. 启用/禁用 KVM 硬件虚拟化。</span></p></li><li><p><span>--live-import </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --live-import </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Immediately start the VM and copy the data in the background. 立即启动 VM 并在后台复制数据。</span></p></li><li><p><span>--localtime </span><boolean></p><p><span>Set the real time clock (RTC) to local time. This is enabled by default if the ostype indicates a Microsoft Windows OS. 将实时时钟 （RTC） 设置为本地时间。如果 ostype 指示 Microsoft Windows 操作系统，则默认情况下启用此功能。</span></p></li><li><p><span>--lock &lt;backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending&gt; --lock &lt;备份 | 克隆 | 创建 | 迁移 | 回滚 | 快照 | 快照删除 | 已暂停 | 挂起&gt;</span></p><p><span>Lock/unlock the VM. 锁定/解锁 VM。</span></p></li><li><p><span>--machine [[type=]</span><machine type><span>] [,viommu=&lt;intel|virtio&gt;] --machine [[type=]</span><machine type><span>] [，viommu=&lt;intel|virtio&gt;]</span></p><p><span>Specify the QEMU machine. 指定 QEMU 机器。</span></p></li><li><p><span>--memory [current=]</span><integer><span> --内存 [current=]</span><integer></p><p><span>Memory properties. 内存属性。</span></p></li><li><p><span>--migrate_downtime </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> 0.1) --migrate_downtime </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0.1）</span></p><p><span>Set maximum tolerated downtime (in seconds) for migrations. Should the migration not be able to converge in the very end, because too much newly dirtied RAM needs to be transferred, the limit will be increased automatically step-by-step until migration can converge. 为迁移设置允许的最大停机时间（以秒为单位）。如果迁移最终无法收敛，因为需要传输太多新污染的 RAM，则限制将自动逐步增加，直到迁移可以收敛。</span></p></li><li><p><span>--migrate_speed </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --migrate_speed </span><integer><span>（0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Set maximum speed (in MB/s) for migrations. Value 0 is no limit. 设置迁移的最大速度（以 MB/s 为单位）。值 0 没有限制。</span></p></li><li><p><span>--name </span><string></p><p><span>Set a name for the VM. Only used on the configuration web interface. 为 VM 设置名称。仅在配置 Web 界面上使用。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS服务器IP地址。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] [model=]</span><enum><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,link_down=&lt;1|0&gt;] [,macaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,mtu=</span><integer><span>] [,queues=</span><integer><span>] [,rate=</span><number><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,</span><model><span>=</span><macaddr><span>] --net[n] [model=]</span><enum><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，link_down=&lt;1|0&gt;] [，macaddr=&lt;XX：XX：XX：XX：XX：XX&gt;] [，mtu=</span><integer><span>] [，queues=</span><integer><span>] [，rate=</span><number><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，</span><model><span>=</span><macaddr><span>]</span></p><p><span>Specify network devices. 指定网络设备。</span></p></li><li><p><span>--numa </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --numa </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable NUMA. 启用/禁用 NUMA。</span></p></li><li><p><span>--numa[n] cpus=&lt;id[-id];...&gt; [,hostnodes=&lt;id[-id];...&gt;] [,memory=</span><number><span>] [,policy=&lt;preferred|bind|interleave&gt;] --numa[n] cpus=&lt;id[-id];...&gt; [，hostnodes=&lt;id[-id];...&gt;] [，memory=</span><number><span>] [，policy=&lt;preferred|bind|interleave&gt;]</span></p><p><span>NUMA topology. NUMA 拓扑。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a VM will be started during system bootup. 指定在系统启动期间是否启动 VM。</span></p></li><li><p><span>--ostype &lt;l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win11 | win7 | win8 | wvista | wxp&gt; --ostype &lt;l24 | l26 | 其他 | Solaris | W2K | W2K3 | W2K8 | Win10 | Win11 | Win7 | Win8 | wvista | wxp&gt;</span></p><p><span>Specify guest operating system. 指定客户机操作系统。</span></p></li><li><p><span>--parallel[n] /dev/parport\d+|/dev/usb/lp\d+</span></p><p><span>Map host parallel devices (n is 0 to 2). 映射主机并行设备（n 为 0 到 2）。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the VM. This will disable the remove VM and remove disk operations. 设置 VM 的保护标志。这将禁用删除 VM 和删除磁盘操作。</span></p></li><li><p><span>--reboot </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --reboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Allow reboot. If set to </span><em><span>0</span></em><span> the VM exit on reboot. 允许重新启动。如果设置为 </span><em><span>0</span></em><span>，则 VM 将在重新启动时退出。</span></p></li><li><p><span>--rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [,max_bytes=</span><integer><span>] [,period=</span><integer><span>] --rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [，max_bytes=</span><integer><span>] [，period=</span><integer><span>]</span></p><p><span>Configure a VirtIO-based Random Number Generator. 配置基于 VirtIO 的随机数生成器。</span></p></li><li><p><span>--sata[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --sata[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd=&lt;1 |0&gt;] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SATA hard disk or CD-ROM (n is 0 to 5). 使用卷作为 SATA 硬盘或 CD-ROM（n 为 0 到 5）。</span></p></li><li><p><span>--scsi[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,product=</span><product><span>] [,queues=</span><integer><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,scsiblock=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,vendor=</span><vendor><span>] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --scsi[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，product=] [，queues=] [&lt;1 |0&gt;，replicate=] [，rerror=] [，ro=&lt;1 |0&gt;] [，scsiblock=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd=&lt;1 |0&gt;] [，trans=] [，vendor=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). 使用卷作为 SCSI 硬盘或 CD-ROM（n 为 0 到 30）。</span></p></li><li><p><span>--scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt; (</span><em><span>default =</span></em><span> lsi) --scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt;（</span><em><span>默认值 =</span></em><span> lsi）</span></p><p><span>SCSI controller model SCSI 控制器型号</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS搜索域。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--serial[n] (/dev/.+|socket) --serial[n] （/dev/.+|套接字）</span></p><p><span>Create a serial device inside the VM (n is 0 to 3) 在 VM 内部创建串行设备（n 为 0 到 3）</span></p></li><li><p><span>--shares </span><integer><span> (0 - 50000) (</span><em><span>default =</span></em><span> 1000) --shares </span><integer><span> （0 - 50000） （</span><em><span>默认值 =</span></em><span> 1000）</span></p><p><span>Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd. 用于自动膨胀的内存份额量。数字越大，此 VM 获得的内存就越多。该数字与所有其他正在运行的 VM 的权重相关。使用零将禁用自动膨胀。自动气球是由 pvestatd 完成的。</span></p></li><li><p><span>--smbios1 [base64=&lt;1|0&gt;] [,family=</span><Base64 encoded string><span>] [,manufacturer=</span><Base64 encoded string><span>] [,product=</span><Base64 encoded string><span>] [,serial=</span><Base64 encoded string><span>] [,sku=</span><Base64 encoded string><span>] [,uuid=</span><UUID><span>] [,version=</span><Base64 encoded string><span>] --smbios1 [base64=&lt;1|0&gt;] [，family=&lt;Base64 编码字符串&gt;] [，manufacturer=&lt;Base64 编码字符串&gt;] [，product=&lt;Base64 编码字符串&gt;] [，serial=&lt;Base64 编码字符串&gt;] [，sku=&lt;Base64 编码字符串&gt;] [，uuid=</span><UUID><span>] [，version=&lt;Base64 编码字符串&gt;]</span></p><p><span>Specify SMBIOS type 1 fields. 指定 SMBIOS 类型 1 字段。</span></p></li><li><p><span>--smp </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --smp </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPUs. Please use option -sockets instead. CPU 的数量。请改用选项 -sockets。</span></p></li><li><p><span>--sockets </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --sockets </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPU sockets. CPU 插槽的数量。</span></p></li><li><p><span>--spice_enhancements [foldersharing=&lt;1|0&gt;] [,videostreaming=&lt;off|all|filter&gt;] --spice_enhancements [foldersharing=&lt;1|0&gt;] [，videostreaming=&lt;off|all|filter&gt;]</span></p><p><span>Configure additional enhancements for SPICE. 配置 SPICE 的其他增强功能。</span></p></li><li><p><span>--sshkeys </span><string><span> --sshkeys &lt;字符串&gt;</span></p><p><span>cloud-init: Setup public SSH keys (one key per line, OpenSSH format). cloud-init：设置公有 SSH 密钥（每行一个密钥，OpenSSH 格式）。</span></p></li><li><p><span>--startdate (now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS) (</span><em><span>default =</span></em><span> now) --startdate （现在 |YYYY-MM-DD |YYYY-MM-DDTHH：MM：SS） </span><em><span>（默认值 =</span></em><span> 现在）</span></p><p><span>Set the initial date of the real time clock. Valid format for date are:&#39;now&#39; or </span><em><span>2006-06-17T16:01:21</span></em><span> or </span><em><span>2006-06-17</span></em><span>. 设置实时时钟的初始日期。日期的有效格式为：“现在”或 </span><em><span>2006-06-17T16：01：21</span></em><span> 或 </span><em><span>2006-06-17</span></em><span>。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Default storage. 默认存储。</span></p></li><li><p><span>--tablet </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --tablet </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable the USB tablet device. 启用/禁用 USB 平板电脑设备。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the VM. This is only meta information. VM 的标记。这只是元信息。</span></p></li><li><p><span>--tdf </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --tdf </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable time drift fix. 启用/禁用时间漂移修复。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--tpmstate0 [file=]</span><volume><span> [,size=</span><DiskSize><span>] [,version=&lt;v1.2|v2.0&gt;] --tpmstate0 [file=]</span><volume><span> [，size=</span><DiskSize><span>] [，version=&lt;v1.2|v2.0&gt;]</span></p><p><span>Configure a Disk for storing TPM state. The format is fixed to </span><em><span>raw</span></em><span>. 配置用于存储 TPM 状态的磁盘。格式固定为</span><em><span>原始</span></em><span>格式。</span></p></li><li><p><span>--unused[n] [file=]</span><volume></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li><li><p><span>--usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [,mapping=</span><mapping-id><span>] [,usb3=&lt;1|0&gt;] --usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [，mapping=</span><mapping-id><span>] [，usb3=&lt;1|0&gt;]</span></p><p><span>Configure an USB device (n is 0 to 4, for machine version &gt;= 7.1 and ostype l26 or windows &gt; 7, n can be up to 14). 配置 USB 设备（n 为 0 到 4，对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7，n 最多为 14）。</span></p></li><li><p><span>--vcpus </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 0) --vcpus </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Number of hotplugged vcpus. 热插拔的 vCPU 数量。</span></p></li><li><p><span>--vga [[type=]</span><enum><span>] [,clipboard=</span><vnc><span>] [,memory=</span><integer><span>] --vga [[type=]</span><enum><span>] [，clipboard=</span><vnc><span>] [，memory=</span><integer><span>]</span></p><p><span>Configure the VGA hardware. 配置 VGA 硬件。</span></p></li><li><p><span>--virtio[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] --virtio[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，ro=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，trans=] [，werror=]</span></p><p><span>Use volume as VIRTIO hard disk (n is 0 to 15). 使用卷作为 VIRTIO 硬盘（n 为 0 到 15）。</span></p></li><li><p><span>--vmgenid </span><UUID><span> (</span><em><span>default =</span></em><span> 1 (autogenerated)) --vmgenid </span><UUID><span>（</span><em><span>默认值 =</span></em><span> 1（自动生成））</span></p><p><span>Set VM Generation ID. Use </span><em><span>1</span></em><span> to autogenerate on create or update, pass </span><em><span>0</span></em><span> to disable explicitly. 设置 VM 生成 ID。使用 </span><em><span>1</span></em><span> 在创建或更新时自动生成，使用 </span><em><span>0</span></em><span> 显式禁用。</span></p></li><li><p><span>--vmstatestorage </span><storage ID><span> --vmstatestorage &lt;存储 ID&gt;</span></p><p><span>Default storage for VM state volumes/files. VM 状态卷/文件的默认存储。</span></p></li><li><p><span>--watchdog [[model=]&lt;i6300esb|ib700&gt;] [,action=</span><enum><span>] --看门狗 [[model=]&lt;i6300esb|ib700&gt;] [，action=</span><enum><span>]</span></p><p><span>Create a virtual hardware watchdog device. 创建虚拟硬件看门狗设备。</span></p></li></ul><p><strong><span>qm importdisk QM 导入磁盘</span></strong></p><p><span>An alias for </span><em><span>qm disk import</span></em><span>.</span>
<em><span>qm 磁盘导入</span></em><span>的别名。</span></p><p><strong><span>qm importovf</span></strong><span> </span><vmid><span> </span><manifest><span> </span><storage><span> [OPTIONS]</span>
<strong><span>qm importovf</span></strong><span> </span><vmid><span> </span><manifest><span> </span><storage><span> [选项]</span></p><p><span>Create a new VM using parameters read from an OVF manifest</span>
<span>使用从 OVF 清单读取的参数创建新的 VM</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><manifest><span>: </span><string><span> </span><manifest><span>： </span><string></p><p><span>path to the ovf file OVF 文件的路径</span></p></li><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>Target storage ID 目标存储 ID</span></p></li><li><p><span>--dryrun </span><boolean></p><p><span>Print a parsed representation of the extracted OVF parameters, but do not create a VM 打印提取的 OVF 参数的解析表示形式，但不创建虚拟机</span></p></li><li><p><span>--format &lt;qcow2 | raw | vmdk&gt;</span></p><p><span>Target format 目标格式</span></p></li></ul><p><strong><span>qm list</span></strong><span> [OPTIONS]</span>
<strong><span>qm 列表</span></strong><span> [选项]</span></p><p><span>Virtual machine index (per node).</span>
<span>虚拟机索引（每个节点）。</span></p><ul><li><p><span>--full </span><boolean></p><p><span>Determine the full status of active VMs. 确定活动 VM 的完整状态。</span></p></li></ul><p><strong><span>qm listsnapshot</span></strong><span> </span><vmid></p><p><span>List all snapshots. 列出所有快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm migrate</span></strong><span> </span><vmid><span> </span><target><span> [OPTIONS]</span>
<strong><span>qm 迁移</span></strong><span> </span><vmid><span> </span><target><span> [选项]</span></p><p><span>Migrate virtual machine. Creates a new migration task.</span>
<span>迁移虚拟机。创建新的迁移任务。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target><span>: </span><string><span> </span><target><span>： &lt;字符串&gt;</span></p><p><span>Target node. 目标节点。</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> migrate limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置迁移限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Allow to migrate VMs which use local devices. Only root may use this option. 允许迁移使用本地设备的 VM。只有 root 可以使用此选项。</span></p></li><li><p><span>--migration_network </span><string></p><p><span>CIDR of the (sub) network that is used for migration. 用于迁移的（子）网络的 CIDR。</span></p></li><li><p><span>--migration_type &lt;insecure | secure&gt;</span></p><p><span>Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance. 默认情况下，迁移流量使用 SSH 隧道进行加密。在安全、完全专用的网络上，可以禁用此功能以提高性能。</span></p></li><li><p><span>--online </span><boolean></p><p><span>Use online/live migration if VM is running. Ignored if VM is stopped. 如果 VM 正在运行，请使用联机/实时迁移。如果 VM 已停止，则忽略。</span></p></li><li><p><span>--targetstorage </span><string></p><p><span>Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value </span><em><span>1</span></em><span> will map each source storage to itself. 从源存储映射到目标存储。仅提供单个存储 ID 会将所有源存储映射到该存储。提供特殊值 </span><em><span>1</span></em><span> 会将每个源存储映射到自身。</span></p></li><li><p><span>--with-local-disks </span><boolean></p><p><span>Enable live storage migration for local disk 为本地磁盘启用实时存储迁移</span></p></li></ul><p><strong><span>qm monitor</span></strong><span> </span><vmid>
<strong><span>qm 监视器</span></strong><span> </span><vmid></p><p><span>Enter QEMU Monitor interface.</span>
<span>进入QEMU Monitor界面。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm move-disk QM 移动磁盘</span></strong></p><p><span>An alias for </span><em><span>qm disk move</span></em><span>.</span>
<em><span>qm 磁盘移动</span></em><span>的别名。</span></p><p><strong><span>qm move_disk 质量管理move_disk</span></strong></p><p><span>An alias for </span><em><span>qm disk move</span></em><span>.</span>
<em><span>qm 磁盘移动</span></em><span>的别名。</span></p><p><strong><span>qm mtunnel</span></strong></p><p><span>Used by qmigrate - do not use manually.</span>
<span>由 qmigrate 使用 - 请勿手动使用。</span></p><p><strong><span>qm nbdstop</span></strong><span> </span><vmid></p><p><span>Stop embedded nbd server.</span>
<span>停止嵌入式 nbd 服务器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm pending</span></strong><span> </span><vmid>
<strong><span>qm 挂起</span></strong><span> </span><vmid></p><p><span>Get the virtual machine configuration with both current and pending values.</span>
<span>获取包含当前值和挂起值的虚拟机配置。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm reboot</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm reboot</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Reboot the VM by shutting it down, and starting it again. Applies pending changes.</span>
<span>通过关闭 VM 并重新启动它来重新启动 VM。应用挂起的更改。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) --超时 </span><integer><span> （0 - N）</span></p><p><span>Wait maximal timeout seconds for the shutdown. 等待最大超时秒数以关机。</span></p></li></ul><p><strong><span>qm remote-migrate</span></strong><span> </span><vmid><span> [</span><target-vmid><span>] </span><target-endpoint><span> --target-bridge </span><string><span> --target-storage </span><string><span> [OPTIONS]</span>
<strong><span>qm remote-migrate</span></strong><span> </span><vmid><span> [</span><target-vmid><span>] </span><target-endpoint><span> --target-bridge </span><string><span> --target-storage </span><string><span> [选项]</span></p><p><span>Migrate virtual machine to a remote cluster. Creates a new migration task. EXPERIMENTAL feature!</span>
<span>将虚拟机迁移到远程群集。创建新的迁移任务。实验性功能！</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target-vmid><span>: </span><integer><span> (100 - 999999999) </span><target-vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target-endpoint><span>: apitoken=</span><a href='mailto:PVEAPIToken=user@realm!token=SECRET' target='_blank' class='url'>PVEAPIToken=user@realm!token=SECRET</a><span> ,host=</span><ADDRESS><span> [,fingerprint=</span><FINGERPRINT><span>] [,port=</span><PORT><span>] </span><target-endpoint><span>： apitoken=</span><a href='mailto:PVEAPIToken=user@realm！token=SECRET' target='_blank' class='url'>PVEAPIToken=user@realm！token=SECRET</a><span> ，host=</span><ADDRESS><span> [，fingerprint=</span><FINGERPRINT><span>] [，port=</span><PORT><span>]</span></p><p><span>Remote target endpoint 远程目标端点</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> migrate limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置迁移限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--delete </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --delete </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Delete the original VM and related data after successful migration. By default the original VM is kept on the source cluster in a stopped state. 迁移成功后，请删除原始虚拟机和相关数据。默认情况下，原始 VM 在源集群上保持停止状态。</span></p></li><li><p><span>--online </span><boolean></p><p><span>Use online/live migration if VM is running. Ignored if VM is stopped. 如果 VM 正在运行，请使用联机/实时迁移。如果 VM 已停止，则忽略。</span></p></li><li><p><span>--target-bridge </span><string></p><p><span>Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value </span><em><span>1</span></em><span> will map each source bridge to itself. 从源网桥到目标网桥的映射。仅提供单个网桥 ID 会将所有源网桥映射到该网桥。提供特殊值 </span><em><span>1</span></em><span> 会将每个源桥映射到自身。</span></p></li><li><p><span>--target-storage </span><string></p><p><span>Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value </span><em><span>1</span></em><span> will map each source storage to itself. 从源存储映射到目标存储。仅提供单个存储 ID 会将所有源存储映射到该存储。提供特殊值 </span><em><span>1</span></em><span> 会将每个源存储映射到自身。</span></p></li></ul><p><strong><span>qm rescan QM 重新扫描</span></strong></p><p><span>An alias for </span><em><span>qm disk rescan</span></em><span>.</span>
<em><span>qm 磁盘重新扫描</span></em><span>的别名。</span></p><p><strong><span>qm reset</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm 重置</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Reset virtual machine. 重置虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>qm resize QM 调整大小</span></strong></p><p><span>An alias for </span><em><span>qm disk resize</span></em><span>.</span>
<em><span>qm 磁盘调整大小</span></em><span>的别名。</span></p><p><strong><span>qm resume</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm resume</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Resume virtual machine. 恢复虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--nocheck </span><boolean></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>qm rollback</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>qm 回滚</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Rollback VM state to specified snapshot.</span>
<span>将 VM 状态回滚到指定的快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--start </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --start </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Whether the VM should get started after rolling back successfully. (Note: VMs will be automatically started if the snapshot includes RAM.) 成功回滚后，VM 是否应启动。（注意：如果快照包含 RAM，则 VM 将自动启动。</span></p></li></ul><p><strong><span>qm sendkey</span></strong><span> </span><vmid><span> </span><key><span> [OPTIONS]</span>
<strong><span>qm sendkey</span></strong><span> </span><vmid><span> </span><key><span> [选项]</span></p><p><span>Send key event to virtual machine.</span>
<span>将密钥事件发送到虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><key><span>: </span><string><span> </span><key><span>： </span><string></p><p><span>The key (qemu monitor encoding). 键（qemu 监视器编码）。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>qm set</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm set</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Set virtual machine options (synchrounous API) - You should consider using the POST method instead for any actions involving hotplug or storage allocation.</span>
<span>设置虚拟机选项（同步 API） - 对于涉及热插拔或存储分配的任何操作，应考虑改用 POST 方法。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--acpi </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --acpi </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable ACPI. 启用/禁用 ACPI。</span></p></li><li><p><span>--affinity </span><string><span> --亲和力 </span><string></p><p><span>List of host cores used to execute guest processes, for example: 0,5,8-11 用于执行客户机进程的主机核心列表，例如：0,5,8-11</span></p></li><li><p><span>--agent [enabled=]&lt;1|0&gt; [,freeze-fs-on-backup=&lt;1|0&gt;] [,fstrim_cloned_disks=&lt;1|0&gt;] [,type=&lt;virtio|isa&gt;] --agent [enabled=]&lt;1|0&gt; [，freeze-fs-on-backup=&lt;1|0&gt;] [，fstrim_cloned_disks=&lt;1|0&gt;] [，type=&lt;virtio|isa&gt;]</span></p><p><span>Enable/disable communication with the QEMU Guest Agent and its properties. 启用/禁用与 QEMU Guest Agent 及其属性的通信。</span></p></li><li><p><span>--arch &lt;aarch64 | x86_64&gt;</span></p><p><span>Virtual processor architecture. Defaults to the host. 虚拟处理器体系结构。默认为主机。</span></p></li><li><p><span>--args </span><string></p><p><span>Arbitrary arguments passed to kvm. 传递给 KVM 的任意参数。</span></p></li><li><p><span>--audio0 device=&lt;ich9-intel-hda|intel-hda|AC97&gt; [,driver=&lt;spice|none&gt;] --audio0 device=&lt;ich9-intel-had|intel-had|AC97&gt; [，驱动程序=&lt;spice|none&gt;]</span></p><p><span>Configure a audio device, useful in combination with QXL/Spice. 配置音频设备，与 QXL/Spice 结合使用很有用。</span></p></li><li><p><span>--autostart </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --autostart </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Automatic restart after crash (currently ignored). 崩溃后自动重启（当前忽略）。</span></p></li><li><p><span>--balloon </span><integer><span> (0 - N) --气球 </span><integer><span> （0 - N）</span></p><p><span>Amount of target RAM for the VM in MiB. Using zero disables the ballon driver. VM 的目标 RAM 量（以 MiB 为单位）。使用零将禁用气球驱动器。</span></p></li><li><p><span>--bios &lt;ovmf | seabios&gt; (</span><em><span>default =</span></em><span> seabios) --bios &lt;ovmf | seabios&gt;（</span><em><span>默认值 =</span></em><span> seabios）</span></p><p><span>Select BIOS implementation. 选择 BIOS 实现。</span></p></li><li><p><span>--boot [[legacy=]&lt;[acdn]{1,4}&gt;] [,order=&lt;device[;device...]&gt;] --boot [[legacy=]&lt;[acdn]{1,4}&gt;] [，order=&lt;device[;设备...]&gt;]</span></p><p><span>Specify guest boot order. Use the </span><em><span>order=</span></em><span> sub-property as usage with no key or </span><em><span>legacy=</span></em><span> is deprecated. 指定客户机启动顺序。使用 </span><em><span>order=</span></em><span> 子属性，因为不带键或 </span><em><span>legacy=</span></em><span> 的用法已弃用。</span></p></li><li><p><span>--bootdisk (ide|sata|scsi|virtio)\d+ --bootdisk （IDE|SATA|SCSI|virtio）\d+</span></p><p><span>Enable booting from specified disk. Deprecated: Use </span><em><span>boot: order=foo;bar</span></em><span> instead. 启用从指定磁盘启动。已弃用：使用 </span><em><span>boot： order=foo;条</span></em><span>形图。</span></p></li><li><p><span>--cdrom </span><volume><span> --cdrom &lt;卷&gt;</span></p><p><span>This is an alias for option -ide2 这是选项 -ide2 的别名</span></p></li><li><p><span>--cicustom [meta=</span><volume><span>] [,network=</span><volume><span>] [,user=</span><volume><span>] [,vendor=</span><volume><span>] --cicustom [meta=</span><volume><span>] [，network=</span><volume><span>] [，user=</span><volume><span>] [，vendor=</span><volume><span>]</span></p><p><span>cloud-init: Specify custom files to replace the automatically generated ones at start. cloud-init：指定自定义文件以替换开始时自动生成的文件。</span></p></li><li><p><span>--cipassword </span><password><span> --cipassword &lt;密码&gt;</span></p><p><span>cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords. cloud-init：用于分配用户的密码。通常不建议使用此工具。请改用 ssh 密钥。另请注意，较旧的 cloud-init 版本不支持哈希密码。</span></p></li><li><p><span>--citype &lt;configdrive2 | nocloud | opennebula&gt;</span></p><p><span>Specifies the cloud-init configuration format. The default depends on the configured operating system type (ostype. We use the nocloud format for Linux, and configdrive2 for windows. 指定 cloud-init 配置格式。默认值取决于配置的操作系统类型 （ostype.我们对 Linux 使用 nocloud 格式，对 Windows 使用 configdrive2 格式。</span></p></li><li><p><span>--ciupgrade </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --ciupgrade </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>cloud-init: do an automatic package upgrade after the first boot. cloud-init：首次启动后自动升级包。</span></p></li><li><p><span>--ciuser </span><string></p><p><span>cloud-init: User name to change ssh keys and password for instead of the image’s configured default user. cloud-init：用于更改 ssh 密钥和密码的用户名，而不是镜像配置的默认用户。</span></p></li><li><p><span>--cores </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --cores </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of cores per socket. 每个插槽的核心数。</span></p></li><li><p><span>--cpu [[cputype=]</span><string><span>] [,flags=&lt;+FLAG[;-FLAG...]&gt;] [,hidden=&lt;1|0&gt;] [,hv-vendor-id=</span><vendor-id><span>] [,phys-bits=&lt;8-64|host&gt;] [,reported-model=</span><enum><span>] --cpu [[cputype=]</span><string><span>] [，flags=&lt;+FLAG[;-FLAG...]&gt;] [，hidden=&lt;1|0&gt;] [，hv-vendor-id=</span><vendor-id><span>] [，phys-bits=&lt;8-64|host&gt;] [，reported-model=</span><enum><span>]</span></p><p><span>Emulated CPU type. 模拟 CPU 类型。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 128) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 128） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (1 - 262144) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （1 - 262144） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2. 在 cgroup v2 中，VM 的 CPU 权重将限制为 [1， 10000]。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the VM. Shown in the web-interface VM’s summary. This is saved as comment inside the configuration file. VM 的说明。显示在 Web 界面 VM 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--efidisk0 [file=]</span><volume><span> [,efitype=&lt;2m|4m&gt;] [,format=</span><enum><span>] [,import-from=</span><source volume><span>] [,pre-enrolled-keys=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --efidisk0 [file=]</span><volume><span> [，efitype=&lt;2m|4m&gt;] [，format=</span><enum><span>] [，import-from=</span><source volume><span>] [，pre-enrolled-keys=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Configure a disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 配置用于存储 EFI var 的磁盘。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。请注意，此处将忽略 SIZE_IN_GiB，并且默认的 EFI 变量将复制到卷中。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called </span><em><span>unused[n]</span></em><span>, which contains the volume ID. Unlink of unused[n] always cause physical removal. 强制物理移除。如果没有这个，我们只需从配置文件中删除磁盘，并创建一个名为 </span><em><span>unused[n]</span></em><span> 的附加配置条目，其中包含卷 ID。 取消未使用的 [n] 链接总是会导致物理删除。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAA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xMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): delete 需要选项： delete</span></p></li><li><p><span>--freeze </span><boolean><span> --冻结 </span><boolean></p><p><span>Freeze CPU at startup (use </span><em><span>c</span></em><span> monitor command to start execution). 启动时冻结 CPU（使用 </span><em><span>c</span></em><span> monitor 命令开始执行）。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be executed during various steps in the vms lifetime. 将在 vms 生命周期的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [,device-id=</span><hex id><span>] [,legacy-igd=&lt;1|0&gt;] [,mapping=</span><mapping-id><span>] [,mdev=</span><string><span>] [,pcie=&lt;1|0&gt;] [,rombar=&lt;1|0&gt;] [,romfile=</span><string><span>] [,sub-device-id=</span><hex id><span>] [,sub-vendor-id=</span><hex id><span>] [,vendor-id=</span><hex id><span>] [,x-vga=&lt;1|0&gt;] --hostpci[n] [[host=]&lt;HOSTPCIID[;HOSTPCIID2...]&gt;] [，device-id=</span><hex id><span>] [，legacy-igd=&lt;1|0&gt;] [，mapping=</span><mapping-id><span>] [，mdev=</span><string><span>] [，pcie=&lt;1|0&gt;] [，rombar=&lt;1|0&gt;] [，romfile=</span><string><span>] [，sub-device-id=</span><hex id><span>] [，sub-vendor-id=</span><hex id><span>] [，vendor-id=</span><hex id><span>] [，x-vga=&lt;1|0&gt;]</span></p><p><span>Map host PCI devices into guest. 将主机 PCI 设备映射到客户机。</span></p></li><li><p><span>--hotplug </span><string><span> (</span><em><span>default =</span></em><span> network,disk,usb) --hotplug </span><string><span> （</span><em><span>默认 =</span></em><span> 网络，磁盘，usb）</span></p><p><span>Selectively enable hotplug features. This is a comma separated list of hotplug features: </span><em><span>network</span></em><span>, </span><em><span>disk</span></em><span>, </span><em><span>cpu</span></em><span>, </span><em><span>memory</span></em><span>, </span><em><span>usb</span></em><span> and </span><em><span>cloudinit</span></em><span>. Use </span><em><span>0</span></em><span> to disable hotplug completely. Using </span><em><span>1</span></em><span> as value is an alias for the default network,disk,usb. USB hotplugging is possible for guests with machine version &gt;= 7.1 and ostype l26 or windows &gt; 7. 有选择地启用热插拔功能。这是一个以逗号分隔的热插拔功能列表：</span><em><span>网络</span></em><span>、</span><em><span>磁盘</span></em><span>、</span><em><span>CPU</span></em><span>、</span><em><span>内存</span></em><span>、</span><em><span>USB</span></em><span> 和 </span><em><span>cloudinit</span></em><span>。使用 </span><em><span>0</span></em><span> 完全禁用热插拔。使用 </span><em><span>1</span></em><span> 作为值是默认网络、磁盘、USB 的别名。对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7 的乘客，可以使用 USB 热插拔。</span></p></li><li><p><span>--hugepages &lt;1024 | 2 | any&gt;</span></p><p><span>Enable/disable hugepages memory. 启用/禁用 hugepages 内存。</span></p></li><li><p><span>--ide[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,model=</span><model><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --IDE[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，model=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd=&lt;1 |0&gt;] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 IDE 硬盘或 CD-ROM（n 为 0 到 3）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--ipconfig[n] [gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,ip=&lt;IPv4Format/CIDR&gt;] [,ip6=&lt;IPv6Format/CIDR&gt;] --ipconfig[n] [gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，ip=&lt;IPv4Format/CIDR&gt;] [，ip6=&lt;IPv6Format/CIDR&gt;]</span></p><p><span>cloud-init: Specify IP addresses and gateways for the corresponding interface. cloud-init：指定对应接口的IP地址和网关。IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified. IP 地址使用 CIDR 表示法，网关是可选的，但需要指定的相同类型的 IP。The special string </span><em><span>dhcp</span></em><span> can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided. For IPv6 the special string </span><em><span>auto</span></em><span> can be used to use stateless autoconfiguration. This requires cloud-init 19.4 or newer. 特殊字符串 </span><em><span>dhcp</span></em><span> 可用于 IP 地址以使用 DHCP，在这种情况下，不应提供显式网关。对于 IPv6，可以使用特殊字符串 </span><em><span>auto</span></em><span> 来使用无状态自动配置。这需要 cloud-init 19.4 或更高版本。If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4. 如果启用了 cloud-init，且未指定 IPv4 和 IPv6 地址，则默认在 IPv4 上使用 dhcp。</span></p></li><li><p><span>--ivshmem size=</span><integer><span> [,name=</span><string><span>] --ivshmem size=</span><integer><span> [，name=</span><string><span>]</span></p><p><span>Inter-VM shared memory. Useful for direct communication between VMs, or to the host. 虚拟机间共享内存。对于虚拟机之间的直接通信或与主机的直接通信非常有用。</span></p></li><li><p><span>--keephugepages </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keephugepages </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts. 与 hugepages 一起使用。如果启用，则 Hugepages 在 VM 关闭后不会被删除，并且可用于后续启动。</span></p></li><li><p><span>--keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt; --keyboard &lt;da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | 胡 | 是 | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr&gt;</span></p><p><span>Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS. VNC 服务器的键盘布局。此选项通常不是必需的，通常最好在客户机操作系统中处理。</span></p></li><li><p><span>--kvm </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --kvm </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable KVM hardware virtualization. 启用/禁用 KVM 硬件虚拟化。</span></p></li><li><p><span>--localtime </span><boolean></p><p><span>Set the real time clock (RTC) to local time. This is enabled by default if the ostype indicates a Microsoft Windows OS. 将实时时钟 （RTC） 设置为本地时间。如果 ostype 指示 Microsoft Windows 操作系统，则默认情况下启用此功能。</span></p></li><li><p><span>--lock &lt;backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending&gt; --lock &lt;备份 | 克隆 | 创建 | 迁移 | 回滚 | 快照 | 快照删除 | 已暂停 | 挂起&gt;</span></p><p><span>Lock/unlock the VM. 锁定/解锁 VM。</span></p></li><li><p><span>--machine [[type=]</span><machine type><span>] [,viommu=&lt;intel|virtio&gt;] --machine [[type=]</span><machine type><span>] [，viommu=&lt;intel|virtio&gt;]</span></p><p><span>Specify the QEMU machine. 指定 QEMU 机器。</span></p></li><li><p><span>--memory [current=]</span><integer><span> --内存 [current=]</span><integer></p><p><span>Memory properties. 内存属性。</span></p></li><li><p><span>--migrate_downtime </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> 0.1) --migrate_downtime </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0.1）</span></p><p><span>Set maximum tolerated downtime (in seconds) for migrations. Should the migration not be able to converge in the very end, because too much newly dirtied RAM needs to be transferred, the limit will be increased automatically step-by-step until migration can converge. 为迁移设置允许的最大停机时间（以秒为单位）。如果迁移最终无法收敛，因为需要传输太多新污染的 RAM，则限制将自动逐步增加，直到迁移可以收敛。</span></p></li><li><p><span>--migrate_speed </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --migrate_speed </span><integer><span>（0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Set maximum speed (in MB/s) for migrations. Value 0 is no limit. 设置迁移的最大速度（以 MB/s 为单位）。值 0 没有限制。</span></p></li><li><p><span>--name </span><string></p><p><span>Set a name for the VM. Only used on the configuration web interface. 为 VM 设置名称。仅在配置 Web 界面上使用。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS服务器IP地址。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] [model=]</span><enum><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,link_down=&lt;1|0&gt;] [,macaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,mtu=</span><integer><span>] [,queues=</span><integer><span>] [,rate=</span><number><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,</span><model><span>=</span><macaddr><span>] --net[n] [model=]</span><enum><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，link_down=&lt;1|0&gt;] [，macaddr=&lt;XX：XX：XX：XX：XX：XX：XX&gt;] [，mtu=</span><integer><span>] [，queues=</span><integer><span>] [，rate=</span><number><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，</span><model><span>=</span><macaddr><span>]</span></p><p><span>Specify network devices. 指定网络设备。</span></p></li><li><p><span>--numa </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --numa </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable NUMA. 启用/禁用 NUMA。</span></p></li><li><p><span>--numa[n] cpus=&lt;id[-id];...&gt; [,hostnodes=&lt;id[-id];...&gt;] [,memory=</span><number><span>] [,policy=&lt;preferred|bind|interleave&gt;] --numa[n] cpus=&lt;id[-id];...&gt; [，hostnodes=&lt;id[-id];...&gt;] [，memory=</span><number><span>] [，policy=&lt;preferred|bind|interleave&gt;]</span></p><p><span>NUMA topology. NUMA 拓扑。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a VM will be started during system bootup. 指定在系统启动期间是否启动 VM。</span></p></li><li><p><span>--ostype &lt;l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win11 | win7 | win8 | wvista | wxp&gt; --ostype &lt;l24 | l26 | 其他 | Solaris | W2K | W2K3 | W2K8 | Win10 | Win11 | Win7 | Win8 | wvista | wxp&gt;</span></p><p><span>Specify guest operating system. 指定客户机操作系统。</span></p></li><li><p><span>--parallel[n] /dev/parport\d+|/dev/usb/lp\d+</span></p><p><span>Map host parallel devices (n is 0 to 2). 映射主机并行设备（n 为 0 到 2）。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the VM. This will disable the remove VM and remove disk operations. 设置 VM 的保护标志。这将禁用删除 VM 和删除磁盘操作。</span></p></li><li><p><span>--reboot </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --reboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Allow reboot. If set to </span><em><span>0</span></em><span> the VM exit on reboot. 允许重新启动。如果设置为 </span><em><span>0</span></em><span>，则 VM 将在重新启动时退出。</span></p></li><li><p><span>--revert </span><string></p><p><span>Revert a pending change. 还原挂起的更改。</span></p></li><li><p><span>--rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [,max_bytes=</span><integer><span>] [,period=</span><integer><span>] --rng0 [source=]&lt;/dev/urandom|/dev/random|/dev/hwrng&gt; [，max_bytes=</span><integer><span>] [，period=</span><integer><span>]</span></p><p><span>Configure a VirtIO-based Random Number Generator. 配置基于 VirtIO 的随机数生成器。</span></p></li><li><p><span>--sata[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --sata[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，replicate&lt;1 |0&gt;=] [，rerror=] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd&lt;1 |0&gt;=] [，trans=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 SATA 硬盘或 CD-ROM（n 为 0 到 5）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--scsi[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,product=</span><product><span>] [,queues=</span><integer><span>] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,scsiblock=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,ssd=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,vendor=</span><vendor><span>] [,werror=</span><enum><span>] [,wwn=</span><wwn><span>] --scsi[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，product=] [，queues=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，ro=&lt;1 |0&gt;] [，scsiblock=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，ssd&lt;1 |0&gt;=] [，trans=] [，供应商=] [，werror=] [，wwn=]</span></p><p><span>Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 SCSI 硬盘或 CD-ROM（n 为 0 到 30）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt; (</span><em><span>default =</span></em><span> lsi) --scsihw &lt;lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single&gt;（</span><em><span>默认值 =</span></em><span> lsi）</span></p><p><span>SCSI controller model SCSI 控制器型号</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set. cloud-init：设置容器的DNS搜索域。如果 searchdomain 和 nameserver 均未设置，Create 将自动使用主机的设置。</span></p></li><li><p><span>--serial[n] (/dev/.+|socket) --serial[n] （/dev/.+|套接字）</span></p><p><span>Create a serial device inside the VM (n is 0 to 3) 在 VM 内部创建串行设备（n 为 0 到 3）</span></p></li><li><p><span>--shares </span><integer><span> (0 - 50000) (</span><em><span>default =</span></em><span> 1000) --shares </span><integer><span> （0 - 50000） （</span><em><span>默认值 =</span></em><span> 1000）</span></p><p><span>Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd. 用于自动膨胀的内存份额量。数字越大，此 VM 获得的内存就越多。该数字与所有其他正在运行的 VM 的权重相关。使用零将禁用自动膨胀。自动气球是由 pvestatd 完成的。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li><li><p><span>--smbios1 [base64=&lt;1|0&gt;] [,family=</span><Base64 encoded string><span>] [,manufacturer=</span><Base64 encoded string><span>] [,product=</span><Base64 encoded string><span>] [,serial=</span><Base64 encoded string><span>] [,sku=</span><Base64 encoded string><span>] [,uuid=</span><UUID><span>] [,version=</span><Base64 encoded string><span>] --smbios1 [base64=&lt;1|0&gt;] [，family=&lt;Base64 编码字符串&gt;] [，manufacturer=&lt;Base64 编码字符串&gt;] [，product=&lt;Base64 编码字符串&gt;] [，serial=&lt;Base64 编码字符串&gt;] [，sku=&lt;Base64 编码字符串&gt;] [，uuid=</span><UUID><span>] [，version=&lt;Base64 编码字符串&gt;]</span></p><p><span>Specify SMBIOS type 1 fields. 指定 SMBIOS 类型 1 字段。</span></p></li><li><p><span>--smp </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --smp </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPUs. Please use option -sockets instead. CPU 的数量。请改用选项 -sockets。</span></p></li><li><p><span>--sockets </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 1) --sockets </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>The number of CPU sockets. CPU 插槽的数量。</span></p></li><li><p><span>--spice_enhancements [foldersharing=&lt;1|0&gt;] [,videostreaming=&lt;off|all|filter&gt;] --spice_enhancements [foldersharing=&lt;1|0&gt;] [，videostreaming=&lt;off|all|filter&gt;]</span></p><p><span>Configure additional enhancements for SPICE. 配置 SPICE 的其他增强功能。</span></p></li><li><p><span>--sshkeys </span><filepath><span> --sshkeys &lt;文件路径&gt;</span></p><p><span>cloud-init: Setup public SSH keys (one key per line, OpenSSH format). cloud-init：设置公有 SSH 密钥（每行一个密钥，OpenSSH 格式）。</span></p></li><li><p><span>--startdate (now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS) (</span><em><span>default =</span></em><span> now) --startdate （现在 |YYYY-MM-DD |YYYY-MM-DDTHH：MM：SS） </span><em><span>（默认值 =</span></em><span> 现在）</span></p><p><span>Set the initial date of the real time clock. Valid format for date are:&#39;now&#39; or </span><em><span>2006-06-17T16:01:21</span></em><span> or </span><em><span>2006-06-17</span></em><span>. 设置实时时钟的初始日期。日期的有效格式为：“现在”或 </span><em><span>2006-06-17T16：01：21</span></em><span> 或 </span><em><span>2006-06-17</span></em><span>。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--tablet </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --tablet </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable/disable the USB tablet device. 启用/禁用 USB 平板电脑设备。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the VM. This is only meta information. VM 的标记。这只是元信息。</span></p></li><li><p><span>--tdf </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --tdf </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable time drift fix. 启用/禁用时间漂移修复。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--tpmstate0 [file=]</span><volume><span> [,import-from=</span><source volume><span>] [,size=</span><DiskSize><span>] [,version=&lt;v1.2|v2.0&gt;] --tpmstate0 [file=]</span><volume><span> [，import-from=</span><source volume><span>] [，size=</span><DiskSize><span>] [，version=&lt;v1.2|v2.0&gt;]</span></p><p><span>Configure a Disk for storing TPM state. The format is fixed to </span><em><span>raw</span></em><span>. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 配置用于存储 TPM 状态的磁盘。格式固定为</span><em><span>原始</span></em><span>格式。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。请注意，此处忽略 SIZE_IN_GiB，而是使用 4 MiB。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--unused[n] [file=]</span><volume></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li><li><p><span>--usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [,mapping=</span><mapping-id><span>] [,usb3=&lt;1|0&gt;] --usb[n] [[host=]&lt;HOSTUSBDEVICE|spice&gt;] [，mapping=</span><mapping-id><span>] [，usb3=&lt;1|0&gt;]</span></p><p><span>Configure an USB device (n is 0 to 4, for machine version &gt;= 7.1 and ostype l26 or windows &gt; 7, n can be up to 14). 配置 USB 设备（n 为 0 到 4，对于计算机版本 &gt;= 7.1 和 ostype l26 或 Windows &gt; 7，n 最多为 14）。</span></p></li><li><p><span>--vcpus </span><integer><span> (1 - N) (</span><em><span>default =</span></em><span> 0) --vcpus </span><integer><span> （1 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Number of hotplugged vcpus. 热插拔的 vCPU 数量。</span></p></li><li><p><span>--vga [[type=]</span><enum><span>] [,clipboard=</span><vnc><span>] [,memory=</span><integer><span>] --vga [[type=]</span><enum><span>] [，clipboard=</span><vnc><span>] [，memory=</span><integer><span>]</span></p><p><span>Configure the VGA hardware. 配置 VGA 硬件。</span></p></li><li><p><span>--virtio[n] [file=]</span><volume><span> [,aio=&lt;native|threads|io_uring&gt;] [,backup=&lt;1|0&gt;] [,bps=</span><bps><span>] [,bps_max_length=</span><seconds><span>] [,bps_rd=</span><bps><span>] [,bps_rd_max_length=</span><seconds><span>] [,bps_wr=</span><bps><span>] [,bps_wr_max_length=</span><seconds><span>] [,cache=</span><enum><span>] [,cyls=</span><integer><span>] [,detect_zeroes=&lt;1|0&gt;] [,discard=&lt;ignore|on&gt;] [,format=</span><enum><span>] [,heads=</span><integer><span>] [,import-from=</span><source volume><span>] [,iops=</span><iops><span>] [,iops_max=</span><iops><span>] [,iops_max_length=</span><seconds><span>] [,iops_rd=</span><iops><span>] [,iops_rd_max=</span><iops><span>] [,iops_rd_max_length=</span><seconds><span>] [,iops_wr=</span><iops><span>] [,iops_wr_max=</span><iops><span>] [,iops_wr_max_length=</span><seconds><span>] [,iothread=&lt;1|0&gt;] [,mbps=</span><mbps><span>] [,mbps_max=</span><mbps><span>] [,mbps_rd=</span><mbps><span>] [,mbps_rd_max=</span><mbps><span>] [,mbps_wr=</span><mbps><span>] [,mbps_wr_max=</span><mbps><span>] [,media=&lt;cdrom|disk&gt;] [,replicate=&lt;1|0&gt;] [,rerror=&lt;ignore|report|stop&gt;] [,ro=&lt;1|0&gt;] [,secs=</span><integer><span>] [,serial=</span><serial><span>] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] [,snapshot=&lt;1|0&gt;] [,trans=&lt;none|lba|auto&gt;] [,werror=</span><enum><span>] --virtio[n] [file=] [，aio=] [，backup=&lt;1 |0&gt;] [，bps=] [，bps_max_length=] [，bps_rd=] [，bps_rd_max_length=] [，bps_wr=] [，bps_wr_max_length=] [，cache=] [，cyls=] [，detect_zeroes=&lt;1 |0&gt;] [，discard=] [，format=] [，heads=] [，import-from=] [，iops=] [，iops_max=] [，iops_max_length=] [，iops_rd=] [，iops_rd_max=] [，iops_rd_max_length=] [，iops_wr=] [，iops_wr_max=] [，iops_wr_max_length=] [，iothread=&lt;1 |0&gt;] [，mbps=] [，mbps_max=] [，mbps_rd=] [，mbps_rd_max=] [，mbps_wr=] [，mbps_wr_max=] [，media=] [，replicate=&lt;1 |0&gt;] [，rerror=] [，ro=&lt;1 |0&gt;] [，secs=] [，serial=] [，shared=&lt;1 |0&gt;] [，size=] [，snapshot=&lt;1 |0&gt;] [，trans=] [，werror=]</span></p><p><span>Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the </span><em><span>import-from</span></em><span> parameter to import from an existing volume. 使用卷作为 VIRTIO 硬盘（n 为 0 到 15）。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。使用 STORAGE_ID：0 和 </span><em><span>import-from</span></em><span> 参数从现有卷导入。</span></p></li><li><p><span>--vmgenid </span><UUID><span> (</span><em><span>default =</span></em><span> 1 (autogenerated)) --vmgenid </span><UUID><span>（</span><em><span>默认值 =</span></em><span> 1（自动生成））</span></p><p><span>Set VM Generation ID. Use </span><em><span>1</span></em><span> to autogenerate on create or update, pass </span><em><span>0</span></em><span> to disable explicitly. 设置 VM 生成 ID。使用 </span><em><span>1</span></em><span> 在创建或更新时自动生成，使用 </span><em><span>0</span></em><span> 显式禁用。</span></p></li><li><p><span>--vmstatestorage </span><storage ID><span> --vmstatestorage &lt;存储 ID&gt;</span></p><p><span>Default storage for VM state volumes/files. VM 状态卷/文件的默认存储。</span></p></li><li><p><span>--watchdog [[model=]&lt;i6300esb|ib700&gt;] [,action=</span><enum><span>] --看门狗 [[model=]&lt;i6300esb|ib700&gt;] [，action=</span><enum><span>]</span></p><p><span>Create a virtual hardware watchdog device. 创建虚拟硬件看门狗设备。</span></p></li></ul><p><strong><span>qm showcmd</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm showcmd</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Show command line which is used to start the VM (debug info).</span>
<span>显示用于启动 VM 的命令行（调试信息）。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--pretty </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --pretty </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Puts each option on a new line to enhance human readability 将每个选项放在一个新行上，以增强人类的可读性</span></p></li><li><p><span>--snapshot </span><string></p><p><span>Fetch config values from given snapshot. 从给定的快照中获取配置值。</span></p></li></ul><p><strong><span>qm shutdown</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm shutdown</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Shutdown virtual machine. This is similar to pressing the power button on a physical machine. This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.</span>
<span>关闭虚拟机。这类似于在物理计算机上按下电源按钮。这将为来宾 OS 发送 ACPI 事件，然后应继续进行干净关闭。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--forceStop </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --forceStop </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Make sure the VM stops. 确保 VM 停止。</span></p></li><li><p><span>--keepActive </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keepActive </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not deactivate storage volumes. 请勿停用存储卷。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) --超时 </span><integer><span> （0 - N）</span></p><p><span>Wait maximal timeout seconds. 等待最大超时秒数。</span></p></li></ul><p><strong><span>qm snapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>qm 快照</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Snapshot a VM. 对 VM 进行快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--description </span><string></p><p><span>A textual description or comment. 文本描述或注释。</span></p></li><li><p><span>--vmstate </span><boolean></p><p><span>Save the vmstate 保存 vmstate</span></p></li></ul><p><strong><span>qm start</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm start</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Start virtual machine. 启动虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--force-cpu </span><string></p><p><span>Override QEMU’s -cpu argument with the given string. 用给定的字符串覆盖 QEMU 的 -cpu 参数。</span></p></li><li><p><span>--machine [[type=]</span><machine type><span>] [,viommu=&lt;intel|virtio&gt;] --machine [[type=]</span><machine type><span>] [，viommu=&lt;intel|virtio&gt;]</span></p><p><span>Specify the QEMU machine. 指定 QEMU 机器。</span></p></li><li><p><span>--migratedfrom </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li><li><p><span>--migration_network </span><string></p><p><span>CIDR of the (sub) network that is used for migration. 用于迁移的（子）网络的 CIDR。</span></p></li><li><p><span>--migration_type &lt;insecure | secure&gt;</span></p><p><span>Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance. 默认情况下，迁移流量使用 SSH 隧道进行加密。在安全、完全专用的网络上，可以禁用此功能以提高性能。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li><li><p><span>--stateuri </span><string></p><p><span>Some command save/restore state from this location. 某些命令从此位置保存/恢复状态。</span></p></li><li><p><span>--targetstorage </span><string></p><p><span>Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value </span><em><span>1</span></em><span> will map each source storage to itself. 从源存储映射到目标存储。仅提供单个存储 ID 会将所有源存储映射到该存储。提供特殊值 </span><em><span>1</span></em><span> 会将每个源存储映射到自身。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> max(30, vm memory in GiB)) --timeout </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> max（30， vm memory in GiB））</span></p><p><span>Wait maximal timeout seconds. 等待最大超时秒数。</span></p></li></ul><p><strong><span>qm status</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm 状态</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Show VM status. 显示 VM 状态。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format 详细输出格式</span></p></li></ul><p><strong><span>qm stop</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm stop</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Stop virtual machine. The qemu process will exit immediately. This is akin to pulling the power plug of a running computer and may damage the VM data.</span>
<span>停止虚拟机。qemu 进程将立即退出。这类似于拔下正在运行的计算机的电源插头，可能会损坏 VM 数据。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--keepActive </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keepActive </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not deactivate storage volumes. 请勿停用存储卷。</span></p></li><li><p><span>--migratedfrom </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li><li><p><span>--overrule-shutdown </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --overrule-shutdown </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Try to abort active </span><em><span>qmshutdown</span></em><span> tasks before stopping. 尝试在停止之前中止活动的 </span><em><span>qmshutdown</span></em><span> 任务。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) --超时 </span><integer><span> （0 - N）</span></p><p><span>Wait maximal timeout seconds. 等待最大超时秒数。</span></p></li></ul><p><strong><span>qm suspend</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm suspend</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Suspend virtual machine. 挂起虚拟机。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li><li><p><span>--statestorage </span><storage ID><span> --statestorage &lt;存储 ID&gt;</span></p><p><span>The storage for the VM state VM 状态的存储</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4e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AVpRXBohVq%0AUowECKqK4RBxoE0W6gvGCcEjaOEAwEQWdpgbGxujt7erOLO2mk3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): todisk 需要选项： todisk</span></p></li><li><p><span>--todisk </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --todisk </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If set, suspends the VM to disk. Will be resumed on next VM start. 如果设置，则将 VM 挂起到磁盘。将在下次启动 VM 时恢复。</span></p></li></ul><p><strong><span>qm template</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm 模板</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Create a Template. 创建模板。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--disk &lt;efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9&gt; --磁盘</span></p><p><span>If you want to convert only 1 disk to base image. 如果您只想将 1 个磁盘转换为基础映像。</span></p></li></ul><p><strong><span>qm terminal</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm 终端</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Open a terminal using a serial device (The VM need to have a serial device configured, for example </span><em><span>serial0: socket</span></em><span>)</span>
<span>使用串行设备打开终端（VM 需要配置串行设备，例如 </span><em><span>serial0： socket</span></em><span>）</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--escape </span><string><span> (</span><em><span>default =</span></em><span> ^O) --escape </span><string><span>（</span><em><span>默认值 =</span></em><span> ^O）</span></p><p><span>Escape character. 转义字符。</span></p></li><li><p><span>--iface &lt;serial0 | serial1 | serial2 | serial3&gt; --iface &lt;序列0 | 序列号1 | 序列号2 | 序列号3&gt;</span></p><p><span>Select the serial device. By default we simply use the first suitable device. 选择串行设备。默认情况下，我们只需使用第一个合适的设备。</span></p></li></ul><p><strong><span>qm unlink QM 取消链接</span></strong></p><p><span>An alias for </span><em><span>qm disk unlink</span></em><span>.</span>
<em><span>qm disk unlink</span></em><span> 的别名。</span></p><p><strong><span>qm unlock</span></strong><span> </span><vmid>
<strong><span>qm 解锁</span></strong><span> </span><vmid></p><p><span>Unlock the VM. 解锁 VM。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm vncproxy</span></strong><span> </span><vmid></p><p><span>Proxy VM VNC traffic to stdin/stdout</span>
<span>代理到 stdin/stdout 的 VM VNC 流量</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>qm wait</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qm 等待</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Wait until the VM is stopped.</span>
<span>等待 VM 停止。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--timeout </span><integer><span> (1 - N) --超时 </span><integer><span> （1 - N）</span></p><p><span>Timeout in seconds. Default is to wait forever. 超时（以秒为单位）。默认设置是永远等待。</span></p></li></ul><h3 id='229-qmrestore---restore-qemuserver-vzdump-backups-229-qmrestore---恢复qemuserver-vzdump备份'><span>22.9. </span><strong><span>qmrestore</span></strong><span> - Restore QemuServer vzdump Backups 22.9. </span><strong><span>qmrestore</span></strong><span> - 恢复QemuServer vzdump备份 </span></h3><p><strong><span>qmrestore</span></strong><span> help</span>
<strong><span>qmrestore</span></strong><span> 帮助</span></p><p><strong><span>qmrestore</span></strong><span> </span><archive><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>qmrestore</span></strong><span> </span><archive><span> </span><vmid><span> [选项]</span></p><p><span>Restore QemuServer vzdump backups.</span>
<span>恢复 QemuServer vzdump 备份。</span></p><ul><li><p><archive><span>: </span><string><span> </span><archive><span>： </span><string></p><p><span>The backup file. You can pass </span><em><span>-</span></em><span> to read from standard input. 备份文件。您可以传递 </span><em><span>-</span></em><span> 从标准输入中读取。</span></p></li><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) --bwlimit </span><number><span> （0 - N）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Allow to overwrite existing VM. 允许覆盖现有 VM。</span></p></li><li><p><span>--live-restore </span><boolean></p><p><span>Start the VM immediately from the backup and restore in background. PBS only. 立即从备份中启动 VM，并在后台进行还原。仅限 PBS。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the VM to the specified pool. 将 VM 添加到指定的池中。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Default storage. 默认存储。</span></p></li><li><p><span>--unique </span><boolean><span> --唯一 </span><boolean></p><p><span>Assign a unique random ethernet address. 分配一个唯一的随机以太网地址。</span></p></li></ul><h3 id='2210-pct---proxmox-container-toolkit-2210-pct---proxmox容器工具包'><span>22.10. </span><strong><span>pct</span></strong><span> - Proxmox Container Toolkit 22.10. </span><strong><span>pct</span></strong><span> - Proxmox容器工具包 </span></h3><p><strong><span>pct</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>PCT</span></strong><span> </span><command><span> [ARGS] [选项]</span></p><p><strong><span>pct clone</span></strong><span> </span><vmid><span> </span><newid><span> [OPTIONS]</span>
<strong><span>pct clone</span></strong><span> </span><vmid><span> </span><newid><span> [选项]</span></p><p><span>Create a container clone/copy</span>
<span>创建容器克隆/复制</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><newid><span>: </span><integer><span> (100 - 999999999) </span><newid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>VMID for the clone. 克隆的 VMID。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> clone limit from datacenter or storage config) --bwlimit </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 来自数据中心或存储配置的克隆限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the new CT. 新 CT 的说明。</span></p></li><li><p><span>--full </span><boolean></p><p><span>Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default. 创建所有磁盘的完整副本。当您克隆正常 CT 时，始终会执行此操作。对于 CT 模板，我们默认尝试创建链接克隆。</span></p></li><li><p><span>--hostname </span><string><span> --主机名 </span><string></p><p><span>Set a hostname for the new CT. 为新 CT 设置主机名。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the new CT to the specified pool. 将新的 CT 添加到指定的池中。</span></p></li><li><p><span>--snapname </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Target storage for full clone. 完整克隆的目标存储。</span></p></li><li><p><span>--target </span><string></p><p><span>Target node. Only allowed if the original VM is on shared storage. 目标节点。仅当原始 VM 位于共享存储上时才允许。</span></p></li></ul><p><strong><span>pct config</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct config</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Get container configuration.</span>
<span>获取容器配置。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--current </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --current </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Get current values (instead of pending values). 获取当前值（而不是挂起值）。</span></p></li><li><p><span>--snapshot </span><string></p><p><span>Fetch config values from given snapshot. 从给定的快照中获取配置值。</span></p></li></ul><p><strong><span>pct console</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct 控制台</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Launch a console for the specified container.</span>
<span>启动指定容器的控制台。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--escape \^?[a-z] (</span><em><span>default =</span></em><span> ^a) --逃脱 \^？[a-z]（</span><em><span>默认值 =</span></em><span> ^a）</span></p><p><span>Escape sequence prefix. For example to use &lt;Ctrl+b q&gt; as the escape sequence pass </span><em><span>^b</span></em><span>. 转义序列前缀。例如，用作转义序列传递 </span><em><span>^b</span></em><span>。</span></p></li></ul><p><strong><span>pct cpusets PCT CPU集</span></strong></p><p><span>Print the list of assigned CPU sets.</span>
<span>打印已分配的 CPU 集的列表。</span></p><p><strong><span>pct create</span></strong><span> </span><vmid><span> </span><ostemplate><span> [OPTIONS]</span>
<strong><span>pct create</span></strong><span> </span><vmid><span> </span><ostemplate><span> [选项]</span></p><p><span>Create or restore a container.</span>
<span>创建或还原容器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><ostemplate><span>: </span><string><span> </span><ostemplate><span>： </span><string></p><p><span>The OS template or backup file. 操作系统模板或备份文件。</span></p></li><li><p><span>--arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt; (</span><em><span>default =</span></em><span> amd64) --arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt;（</span><em><span>默认值 =</span></em><span> amd64）</span></p><p><span>OS architecture type. 操作系统体系结构类型。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> restore limit from datacenter or storage config) --bwlimit </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置还原限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--cmode &lt;console | shell | tty&gt; (</span><em><span>default =</span></em><span> tty) --cmode &lt;console | shell | tty&gt;（</span><em><span>默认值 =</span></em><span> tty）</span></p><p><span>Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to </span><em><span>console</span></em><span> it tries to attach to /dev/console instead. If you set cmode to </span><em><span>shell</span></em><span>, it simply invokes a shell inside the container (no login). 控制台模式。默认情况下，console 命令会尝试打开与其中一个可用 tty 设备的连接。通过将 cmode 设置为 </span><em><span>console</span></em><span>，它会尝试连接到 /dev/console。如果将 cmode 设置为 </span><em><span>shell</span></em><span>，它只会在容器内调用一个 shell（无需登录）。</span></p></li><li><p><span>--console </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --console </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Attach a console device (/dev/console) to the container. 将控制台设备 （/dev/console） 连接到容器。</span></p></li><li><p><span>--cores </span><integer><span> (1 - 8192) --cores </span><integer><span> （1 - 8192）</span></p><p><span>The number of cores assigned to the container. A container can use all available cores by default. 分配给容器的核心数。默认情况下，容器可以使用所有可用核心。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 8192) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 8192） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4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g/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>If the computer has 2 CPUs, it has a total of </span><em><span>2</span></em><span> CPU time. Value </span><em><span>0</span></em><span> indicates no CPU limit. 如果计算机有 2 个 CPU，则总共有 </span><em><span>2</span></em><span> 个 CPU 时间。值 </span><em><span>0</span></em><span> 表示没有 CPU 限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (0 - 500000) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （0 - 500000） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a container, will be clamped to [1, 10000] in cgroup v2. 容器的 CPU 权重，将在 cgroup v2 中被限制为 [1， 10000]。</span></p></li><li><p><span>--debug </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --debug </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Try to be more verbose. For now this only enables debug log-level on start. 尽量更详细。目前，这仅在启动时启用调试日志级别。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the Container. Shown in the web-interface CT’s summary. This is saved as comment inside the configuration file. 容器的说明。显示在 Web 界面 CT 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--dev[n] [[path=]</span><Path><span>] [,gid=</span><integer><span>] [,mode=</span><Octal access mode><span>] [,uid=</span><integer><span>] --dev[n] [[path=]</span><Path><span>] [，gid=</span><integer><span>] [，mode=</span><ctal access mode><span>] [，uid=</span><integer><span>]</span></p><p><span>Device to pass through to the container 要传递到容器的设备</span></p></li><li><p><span>--features [force_rw_sys=&lt;1|0&gt;] [,fuse=&lt;1|0&gt;] [,keyctl=&lt;1|0&gt;] [,mknod=&lt;1|0&gt;] [,mount=&lt;fstype;fstype;...&gt;] [,nesting=&lt;1|0&gt;] --features [force_rw_sys=&lt;1|0&gt;] [，fuse=&lt;1|0&gt;] [，keyctl=&lt;1|0&gt;] [，mknod=&lt;1|0&gt;] [，mount=&lt;fstype;fstype;...&gt;] [，nesting=&lt;1|0&gt;]</span></p><p><span>Allow containers access to advanced features. 允许容器访问高级功能。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Allow to overwrite existing container. 允许覆盖现有容器。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be exectued during various steps in the containers lifetime. 将在容器生命周期中的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostname </span><string><span> --主机名 </span><string></p><p><span>Set a host name for the container. 为容器设置主机名。</span></p></li><li><p><span>--ignore-unpack-errors </span><boolean></p><p><span>Ignore errors when extracting the template. 提取模板时忽略错误。</span></p></li><li><p><span>--lock &lt;backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete&gt;</span></p><p><span>Lock/unlock the container. 锁定/解锁容器。</span></p></li><li><p><span>--memory </span><integer><span> (16 - N) (</span><em><span>default =</span></em><span> 512) --memory </span><integer><span> （16 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of RAM for the container in MB. 容器的 RAM 量（以 MB 为单位）。</span></p></li><li><p><span>--mp[n] [volume=]</span><volume><span> ,mp=</span><Path><span> [,acl=&lt;1|0&gt;] [,backup=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --mp[n] [volume=]</span><volume><span> ，mp=</span><Path><span> [，acl=&lt;1|0&gt;] [，backup=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. 使用体积作为容器挂载点。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 服务器 IP 地址。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] name=</span><string><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,hwaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,ip=&lt;(IPv4/CIDR|dhcp|manual)&gt;] [,ip6=&lt;(IPv6/CIDR|auto|dhcp|manual)&gt;] [,link_down=&lt;1|0&gt;] [,mtu=</span><integer><span>] [,rate=</span><mbps><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,type=</span><veth><span>] --net[n] name=</span><string><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，hwaddr=&lt;XX：XX：XX：XX：XX：XX&gt;] [，ip=&lt;（IPv4/CIDR|dhcp|manual）&gt;] [，ip6=&lt;（IPv6/CIDR|auto|dhcp|manual）&gt;] [，link_down=&lt;1|0&gt;] [，mtu=</span><integer><span>] [，rate=</span><mbps><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，类型=</span><veth><span>]</span></p><p><span>Specifies network interfaces for the container. 指定容器的网络接口。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a container will be started during system bootup. 指定是否在系统启动期间启动容器。</span></p></li><li><p><span>--ostype &lt;alpine | archlinux | centos | debian | devuan | fedora | gentoo | nixos | opensuse | ubuntu | unmanaged&gt;</span></p><p><span>OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/</span><ostype><span>.common.conf. Value </span><em><span>unmanaged</span></em><span> can be used to skip and OS specific setup. 操作系统类型。这用于在容器内部设置配置，对应于 /usr/share/lxc/config/.common.conf 中的 lxc 设置脚本。值 </span><em><span>unmanaged</span></em><span> 可用于跳过和特定于操作系统的设置。</span></p></li><li><p><span>--password </span><password><span> --密码 &lt;密码&gt;</span></p><p><span>Sets root password inside container. 在容器内设置 root 密码。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the VM to the specified pool. 将 VM 添加到指定的池中。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the container. This will prevent the CT or CT’s disk remove/update operation. 设置容器的保护标志。这将阻止 CT 或 CT 的磁盘删除/更新操作。</span></p></li><li><p><span>--restore </span><boolean></p><p><span>Mark this as restore task. 将此标记为还原任务。</span></p></li><li><p><span>--rootfs [volume=]</span><volume><span> [,acl=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --rootfs [volume=]</span><volume><span> [，acl=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container root. 使用卷作为容器根目录。</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 搜索域。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--ssh-public-keys </span><filepath><span> --ssh-公钥 &lt;文件路径&gt;</span></p><p><span>Setup public SSH keys (one key per line, OpenSSH format). 设置公共 SSH 密钥（每行一个密钥，OpenSSH 格式）。</span></p></li><li><p><span>--start </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --start </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Start the CT after its creation finished successfully. 在成功创建 CT 后启动 CT。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--storage </span><storage ID><span> (</span><em><span>default =</span></em><span> local) --storage &lt;存储 ID&gt;（</span><em><span>默认值 =</span></em><span> 本地）</span></p><p><span>Default Storage. 默认存储。</span></p></li><li><p><span>--swap </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 512) --swap </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of SWAP for the container in MB. 容器的 SWAP 量（以 MB 为单位）。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the Container. This is only meta information. 容器的标记。这只是元信息。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--timezone </span><string></p><p><span>Time zone to use in the container. If option isn’t set, then nothing will be done. Can be set to </span><em><span>host</span></em><span> to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab 要在容器中使用的时区。如果未设置选项，则不会执行任何操作。可以设置为</span><em><span>主机</span></em><span>以匹配主机时区，或从 /usr/share/zoneinfo/zone.tab 中设置任意时区选项</span></p></li><li><p><span>--tty </span><integer><span> (0 - 6) (</span><em><span>default =</span></em><span> 2) --tty </span><integer><span> （0 - 6） （</span><em><span>默认值 =</span></em><span> 2）</span></p><p><span>Specify the number of tty available to the container 指定容器可用的 tty 数量</span></p></li><li><p><span>--unique </span><boolean><span> --唯一 </span><boolean></p><p><span>Assign a unique random ethernet address. 分配一个唯一的随机以太网地址。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/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WwAQ35jnc8AVpRXBohVq%0AUowECKqK4RBxoE0W6gvGCcEjaOEAwEQWdpgbGxujt7erOLO2mk3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): restore 需要选项： restore</span></p></li><li><p><span>--unprivileged </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --unprivileged </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Makes the container run as unprivileged user. (Should not be modified manually.) 使容器以非特权用户身份运行。（不应手动修改。</span></p></li><li><p><span>--unused[n] [volume=]</span><volume><span> --未使用[n] [音量=]&lt;音量&gt;</span></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li></ul><p><strong><span>pct delsnapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>pct delsnapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Delete a LXC snapshot. 删除 LXC 快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--force </span><boolean></p><p><span>For removal from config file, even if removing disk snapshots fails. 用于从配置文件中删除，即使删除磁盘快照失败。</span></p></li></ul><p><strong><span>pct destroy</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct destroy</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Destroy the container (also delete all uses files).</span>
<span>销毁容器（同时删除所有使用的文件）。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--destroy-unreferenced-disks </span><boolean></p><p><span>If set, destroy additionally all disks with the VMID from all enabled storages which are not referenced in the config. 如果设置了，请从配置中未引用的所有已启用存储中额外销毁具有 VMID 的所有磁盘。</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Force destroy, even if running. 强制销毁，即使正在运行。</span></p></li><li><p><span>--purge </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --purge </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Remove container from all related configurations. For example, backup jobs, replication jobs or HA. Related ACLs and Firewall entries will </span><strong><span>always</span></strong><span> be removed. 从所有相关配置中删除容器。例如，备份作业、复制作业或 HA。相关的 ACL 和防火墙条目</span><strong><span>将始终</span></strong><span>被删除。</span></p></li></ul><p><strong><span>pct df</span></strong><span> </span><vmid></p><p><span>Get the container’s current disk usage.</span>
<span>获取容器的当前磁盘使用情况。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct enter</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct enter</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Launch a shell for the specified container.</span>
<span>启动指定容器的 shell。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--keep-env </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --keep-env </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Keep the current environment. This option will disabled by default with PVE 9. If you rely on a preserved environment, please use this option to be future-proof. 保持当前环境。默认情况下，此选项将在 PVE 9 中禁用。如果您依赖于保留的环境，请使用此选项以实现未来需求。</span></p></li></ul><p><strong><span>pct exec</span></strong><span> </span><vmid><span> [</span><extra-args><span>] [OPTIONS]</span>
<strong><span>pct exec</span></strong><span> </span><vmid><span> [</span><extra-args><span>] [选项]</span></p><p><span>Launch a command inside the specified container.</span>
<span>在指定的容器内启动命令。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><extra-args><span>: </span><array><span> </span><extra-args><span>： </span><array></p><p><span>Extra arguments as array 作为数组的额外参数</span></p></li><li><p><span>--keep-env </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --keep-env </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Keep the current environment. This option will disabled by default with PVE 9. If you rely on a preserved environment, please use this option to be future-proof. 保持当前环境。默认情况下，此选项将在 PVE 9 中禁用。如果您依赖于保留的环境，请使用此选项以实现未来需求。</span></p></li></ul><p><strong><span>pct fsck</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct fsck</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Run a filesystem check (fsck) on a container volume.</span>
<span>在容器卷上运行文件系统检查 （fsck）。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--device &lt;mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs&gt; --装置</span></p><p><span>A volume on which to run the filesystem check 要运行文件系统检查的卷</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Force checking, even if the filesystem seems clean 强制检查，即使文件系统看起来很干净</span></p></li></ul><p><strong><span>pct fstrim</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct fstrim</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Run fstrim on a chosen CT and its mountpoints, except bind or read-only mountpoints.</span>
<span>在选定的 CT 及其挂载点上运行 fstrim，绑定或只读挂载点除外。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--ignore-mountpoints </span><boolean></p><p><span>Skip all mountpoints, only do fstrim on the container root. 跳过所有挂载点，只在容器根目录上做 fstrim。</span></p></li></ul><p><strong><span>pct help</span></strong><span> [OPTIONS]</span>
<strong><span>pct help</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pct list PCT清单</span></strong></p><p><span>LXC container index (per node).</span>
<span>LXC 容器索引（每个节点）。</span></p><p><strong><span>pct listsnapshot</span></strong><span> </span><vmid></p><p><span>List all snapshots. 列出所有快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct migrate</span></strong><span> </span><vmid><span> </span><target><span> [OPTIONS]</span>
<strong><span>pct 迁移</span></strong><span> </span><vmid><span> </span><target><span> [选项]</span></p><p><span>Migrate the container to another node. Creates a new migration task.</span>
<span>将容器迁移到另一个节点。创建新的迁移任务。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target><span>: </span><string><span> </span><target><span>： &lt;字符串&gt;</span></p><p><span>Target node. 目标节点。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> migrate limit from datacenter or storage config) --bwlimit </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置迁移限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--online </span><boolean></p><p><span>Use online/live migration. 使用在线/实时迁移。</span></p></li><li><p><span>--restart </span><boolean></p><p><span>Use restart migration 使用重新启动迁移</span></p></li><li><p><span>--target-storage </span><string></p><p><span>Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value </span><em><span>1</span></em><span> will map each source storage to itself. 从源存储映射到目标存储。仅提供单个存储 ID 会将所有源存储映射到该存储。提供特殊值 </span><em><span>1</span></em><span> 会将每个源存储映射到自身。</span></p></li><li><p><span>--timeout </span><integer><span> (</span><em><span>default =</span></em><span> 180) --timeout </span><integer><span>（</span><em><span>默认值 =</span></em><span> 180）</span></p><p><span>Timeout in seconds for shutdown for restart migration 重新启动迁移的关机超时（以秒为单位）</span></p></li></ul><p><strong><span>pct mount</span></strong><span> </span><vmid>
<strong><span>pct 挂载</span></strong><span> </span><vmid></p><p><span>Mount the container’s filesystem on the host. This will hold a lock on the container and is meant for emergency maintenance only as it will prevent further operations on the container other than start and stop.</span>
<span>在主机上挂载容器的文件系统。这将在容器上锁定，并且仅用于紧急维护，因为它将阻止对容器进行除启动和停止之外的进一步操作。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct move-volume</span></strong><span> </span><vmid><span> </span><volume><span> [</span><storage><span>] [</span><target-vmid><span>] [</span><target-volume><span>] [OPTIONS]</span>
<strong><span>pct 移动体积</span></strong><span> </span><vmid><span> &lt;体积&gt; [</span><storage><span>] [</span><target-vmid><span>] [&lt;目标体积&gt;] [选项]</span></p><p><span>Move a rootfs-/mp-volume to a different storage or to a different container.</span>
<span>将 rootfs-/mp-volume 移动到不同的存储或不同的容器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><volume><span>: &lt;mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99&gt; &lt;体积&gt;：</span></p><p><span>Volume which will be moved. 将被移动的卷。</span></p></li><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>Target Storage. 目标存储。</span></p></li><li><p><target-vmid><span>: </span><integer><span> (100 - 999999999) </span><target-vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target-volume><span>: &lt;mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99&gt; &lt;目标卷&gt;：</span></p><p><span>The config key the volume will be moved to. Default is the source volume key. 卷将移动到的配置键。默认值为源音量键。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> clone limit from datacenter or storage config) --bwlimit </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 来自数据中心或存储配置的克隆限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--delete </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --delete </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Delete the original volume after successful copy. By default the original is kept as an unused volume entry. 成功复制后删除原始卷。默认情况下，原始文件将保留为未使用的卷条目。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 &quot; . &quot;digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 “ .消化。这可用于防止并发修改。</span></p></li><li><p><span>--target-digest </span><string></p><p><span>Prevent changes if current configuration file of the target &quot; . &quot;container has a different SHA1 digest. This can be used to prevent &quot; . &quot;concurrent modifications. 如果目标的当前配置文件为“.容器具有不同的 SHA1 摘要。这可以用来防止“ .并发修改。</span></p></li></ul><p><strong><span>pct move_volume</span></strong></p><p><span>An alias for </span><em><span>pct move-volume</span></em><span>.</span>
<em><span>pct move-volume</span></em><span> 的别名。</span></p><p><strong><span>pct pending</span></strong><span> </span><vmid>
<strong><span>pct 待定</span></strong><span> </span><vmid></p><p><span>Get container configuration, including pending changes.</span>
<span>获取容器配置，包括挂起的更改。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct pull</span></strong><span> </span><vmid><span> </span><path><span> </span><destination><span> [OPTIONS]</span>
<strong><span>pct pull</span></strong><span> </span><vmid><span> </span><path><span> </span><destination><span> [选项]</span></p><p><span>Copy a file from the container to the local system.</span>
<span>将文件从容器复制到本地系统。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><path><span>: </span><string><span> </span><path><span>： </span><string></p><p><span>Path to a file inside the container to pull. 容器内要拉取的文件的路径。</span></p></li><li><p><destination><span>: </span><string><span> </span><destination><span>： </span><string></p><p><span>Destination 目的地</span></p></li><li><p><span>--group </span><string><span> --组 </span><string></p><p><span>Owner group name or id. 所有者组名称或 ID。</span></p></li><li><p><span>--perms </span><string></p><p><span>File permissions to use (octal by default, prefix with </span><em><span>0x</span></em><span> for hexadecimal). 要使用的文件权限（默认为八进制，十六进制以 </span><em><span>0x</span></em><span> 为前缀）。</span></p></li><li><p><span>--user </span><string></p><p><span>Owner user name or id. 所有者用户名或 ID。</span></p></li></ul><p><strong><span>pct push</span></strong><span> </span><vmid><span> </span><file><span> </span><destination><span> [OPTIONS]</span>
<strong><span>pct push</span></strong><span> </span><vmid><span> </span><file><span> </span><destination><span> [选项]</span></p><p><span>Copy a local file to the container.</span>
<span>将本地文件复制到容器中。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><file><span>: </span><string><span> </span><file><span>： </span><string></p><p><span>Path to a local file. 本地文件的路径。</span></p></li><li><p><destination><span>: </span><string><span> </span><destination><span>： </span><string></p><p><span>Destination inside the container to write to. 要写入的容器内的目标。</span></p></li><li><p><span>--group </span><string><span> --组 </span><string></p><p><span>Owner group name or id. When using a name it must exist inside the container. 所有者组名称或 ID。使用名称时，它必须存在于容器内。</span></p></li><li><p><span>--perms </span><string></p><p><span>File permissions to use (octal by default, prefix with </span><em><span>0x</span></em><span> for hexadecimal). 要使用的文件权限（默认为八进制，十六进制以 </span><em><span>0x</span></em><span> 为前缀）。</span></p></li><li><p><span>--user </span><string></p><p><span>Owner user name or id. When using a name it must exist inside the container. 所有者用户名或 ID。使用名称时，它必须存在于容器内。</span></p></li></ul><p><strong><span>pct reboot</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct reboot</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Reboot the container by shutting it down, and starting it again. Applies pending changes.</span>
<span>通过关闭容器并重新启动容器来重新启动容器。应用挂起的更改。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) --超时 </span><integer><span> （0 - N）</span></p><p><span>Wait maximal timeout seconds for the shutdown. 等待最大超时秒数以关机。</span></p></li></ul><p><strong><span>pct remote-migrate</span></strong><span> </span><vmid><span> [</span><target-vmid><span>] </span><target-endpoint><span> --target-bridge </span><string><span> --target-storage </span><string><span> [OPTIONS]</span>
<strong><span>pct remote-migrate</span></strong><span> </span><vmid><span> [</span><target-vmid><span>] </span><target-endpoint><span> --target-bridge </span><string><span> --target-storage </span><string><span> [选项]</span></p><p><span>Migrate container to a remote cluster. Creates a new migration task. EXPERIMENTAL feature!</span>
<span>将容器迁移到远程集群。创建新的迁移任务。实验性功能！</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target-vmid><span>: </span><integer><span> (100 - 999999999) </span><target-vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><target-endpoint><span>: apitoken=</span><a href='mailto:PVEAPIToken=user@realm!token=SECRET' target='_blank' class='url'>PVEAPIToken=user@realm!token=SECRET</a><span> ,host=</span><ADDRESS><span> [,fingerprint=</span><FINGERPRINT><span>] [,port=</span><PORT><span>] </span><target-endpoint><span>： apitoken=</span><a href='mailto:PVEAPIToken=user@realm！token=SECRET' target='_blank' class='url'>PVEAPIToken=user@realm！token=SECRET</a><span> ，host=</span><ADDRESS><span> [，fingerprint=</span><FINGERPRINT><span>] [，port=</span><PORT><span>]</span></p><p><span>Remote target endpoint 远程目标端点</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> migrate limit from datacenter or storage config) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置迁移限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--delete </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --delete </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Delete the original CT and related data after successful migration. By default the original CT is kept on the source cluster in a stopped state. 迁移成功后，删除原始CT及相关数据。默认情况下，原始 CT 在源集群上保持停止状态。</span></p></li><li><p><span>--online </span><boolean></p><p><span>Use online/live migration. 使用在线/实时迁移。</span></p></li><li><p><span>--restart </span><boolean></p><p><span>Use restart migration 使用重新启动迁移</span></p></li><li><p><span>--target-bridge </span><string></p><p><span>Mapping from source to target bridges. Providing only a single bridge ID maps all source bridges to that bridge. Providing the special value </span><em><span>1</span></em><span> will map each source bridge to itself. 从源网桥到目标网桥的映射。仅提供单个网桥 ID 会将所有源网桥映射到该网桥。提供特殊值 </span><em><span>1</span></em><span> 会将每个源桥映射到自身。</span></p></li><li><p><span>--target-storage </span><string></p><p><span>Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value </span><em><span>1</span></em><span> will map each source storage to itself. 从源存储映射到目标存储。仅提供单个存储 ID 会将所有源存储映射到该存储。提供特殊值 </span><em><span>1</span></em><span> 会将每个源存储映射到自身。</span></p></li><li><p><span>--timeout </span><integer><span> (</span><em><span>default =</span></em><span> 180) --timeout </span><integer><span>（</span><em><span>默认值 =</span></em><span> 180）</span></p><p><span>Timeout in seconds for shutdown for restart migration 重新启动迁移的关机超时（以秒为单位）</span></p></li></ul><p><strong><span>pct rescan</span></strong><span> [OPTIONS]</span>
<strong><span>pct 重新扫描</span></strong><span> [选项]</span></p><p><span>Rescan all storages and update disk sizes and unused disk images.</span>
<span>重新扫描所有存储并更新磁盘大小和未使用的磁盘映像。</span></p><ul><li><p><span>--dryrun </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --dryrun </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Do not actually write changes out to conifg. 实际上不要将更改写出到 conifg。</span></p></li><li><p><span>--vmid </span><integer><span> (100 - 999999999) --vmid </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct resize</span></strong><span> </span><vmid><span> </span><disk><span> </span><size><span> [OPTIONS]</span>
<strong><span>pct 调整大小</span></strong><span> </span><vmid><span> </span><disk><span> </span><size><span> [选项]</span></p><p><span>Resize a container mount point.</span>
<span>调整容器挂载点的大小。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><disk><span>: &lt;mp0 | mp1 | mp10 | mp100 | mp101 | mp102 | mp103 | mp104 | mp105 | mp106 | mp107 | mp108 | mp109 | mp11 | mp110 | mp111 | mp112 | mp113 | mp114 | mp115 | mp116 | mp117 | mp118 | mp119 | mp12 | mp120 | mp121 | mp122 | mp123 | mp124 | mp125 | mp126 | mp127 | mp128 | mp129 | mp13 | mp130 | mp131 | mp132 | mp133 | mp134 | mp135 | mp136 | mp137 | mp138 | mp139 | mp14 | mp140 | mp141 | mp142 | mp143 | mp144 | mp145 | mp146 | mp147 | mp148 | mp149 | mp15 | mp150 | mp151 | mp152 | mp153 | mp154 | mp155 | mp156 | mp157 | mp158 | mp159 | mp16 | mp160 | mp161 | mp162 | mp163 | mp164 | mp165 | mp166 | mp167 | mp168 | mp169 | mp17 | mp170 | mp171 | mp172 | mp173 | mp174 | mp175 | mp176 | mp177 | mp178 | mp179 | mp18 | mp180 | mp181 | mp182 | mp183 | mp184 | mp185 | mp186 | mp187 | mp188 | mp189 | mp19 | mp190 | mp191 | mp192 | mp193 | mp194 | mp195 | mp196 | mp197 | mp198 | mp199 | mp2 | mp20 | mp200 | mp201 | mp202 | mp203 | mp204 | mp205 | mp206 | mp207 | mp208 | mp209 | mp21 | mp210 | mp211 | mp212 | mp213 | mp214 | mp215 | mp216 | mp217 | mp218 | mp219 | mp22 | mp220 | mp221 | mp222 | mp223 | mp224 | mp225 | mp226 | mp227 | mp228 | mp229 | mp23 | mp230 | mp231 | mp232 | mp233 | mp234 | mp235 | mp236 | mp237 | mp238 | mp239 | mp24 | mp240 | mp241 | mp242 | mp243 | mp244 | mp245 | mp246 | mp247 | mp248 | mp249 | mp25 | mp250 | mp251 | mp252 | mp253 | mp254 | mp255 | mp26 | mp27 | mp28 | mp29 | mp3 | mp30 | mp31 | mp32 | mp33 | mp34 | mp35 | mp36 | mp37 | mp38 | mp39 | mp4 | mp40 | mp41 | mp42 | mp43 | mp44 | mp45 | mp46 | mp47 | mp48 | mp49 | mp5 | mp50 | mp51 | mp52 | mp53 | mp54 | mp55 | mp56 | mp57 | mp58 | mp59 | mp6 | mp60 | mp61 | mp62 | mp63 | mp64 | mp65 | mp66 | mp67 | mp68 | mp69 | mp7 | mp70 | mp71 | mp72 | mp73 | mp74 | mp75 | mp76 | mp77 | mp78 | mp79 | mp8 | mp80 | mp81 | mp82 | mp83 | mp84 | mp85 | mp86 | mp87 | mp88 | mp89 | mp9 | mp90 | mp91 | mp92 | mp93 | mp94 | mp95 | mp96 | mp97 | mp98 | mp99 | rootfs&gt; </span><disk><span>：</span></p><p><span>The disk you want to resize. 要调整大小的磁盘。</span></p></li><li><p><size><span>: </span><span>+</span><span>?\d+(</span><span>.</span><span>\d+)?[KMGT]? </span><size><span>： </span><span>+</span><span>？\d+（</span><span>.</span><span>\d+）？[KMGT]？</span></p><p><span>The new size. With the </span><em><span>+</span></em><span> sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported. 新尺寸。使用 + 号时，该值将添加到体积的实际大小时，如果没有 </span><em><span>+</span></em><span> 号，该值将被视为绝对值。不支持缩小磁盘大小。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 摘要，则防止更改。这可用于防止并发修改。</span></p></li></ul><p><strong><span>pct restore</span></strong><span> </span><vmid><span> </span><ostemplate><span> [OPTIONS]</span>
<strong><span>pct restore</span></strong><span> </span><vmid><span> </span><ostemplate><span> [选项]</span></p><p><span>Create or restore a container.</span>
<span>创建或还原容器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><ostemplate><span>: </span><string><span> </span><ostemplate><span>： </span><string></p><p><span>The OS template or backup file. 操作系统模板或备份文件。</span></p></li><li><p><span>--arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt; (</span><em><span>default =</span></em><span> amd64) --arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt;（</span><em><span>默认值 =</span></em><span> amd64）</span></p><p><span>OS architecture type. 操作系统体系结构类型。</span></p></li><li><p><span>--bwlimit </span><number><span> (0 - N) (</span><em><span>default =</span></em><span> restore limit from datacenter or storage config) --bwlimit </span><number><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 从数据中心或存储配置还原限制）</span></p><p><span>Override I/O bandwidth limit (in KiB/s). 覆盖 I/O 带宽限制（以 KiB/s 为单位）。</span></p></li><li><p><span>--cmode &lt;console | shell | tty&gt; (</span><em><span>default =</span></em><span> tty) --cmode &lt;console | shell | tty&gt;（</span><em><span>默认值 =</span></em><span> tty）</span></p><p><span>Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to </span><em><span>console</span></em><span> it tries to attach to /dev/console instead. If you set cmode to </span><em><span>shell</span></em><span>, it simply invokes a shell inside the container (no login). 控制台模式。默认情况下，console 命令会尝试打开与其中一个可用 tty 设备的连接。通过将 cmode 设置为 </span><em><span>console</span></em><span>，它会尝试连接到 /dev/console。如果将 cmode 设置为 </span><em><span>shell</span></em><span>，它只会在容器内调用一个 shell（无需登录）。</span></p></li><li><p><span>--console </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --console </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Attach a console device (/dev/console) to the container. 将控制台设备 （/dev/console） 连接到容器。</span></p></li><li><p><span>--cores </span><integer><span> (1 - 8192) --cores </span><integer><span> （1 - 8192）</span></p><p><span>The number of cores assigned to the container. A container can use all available cores by default. 分配给容器的核心数。默认情况下，容器可以使用所有可用核心。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 8192) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 8192） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmGwzQ7%0ArRJAUpAENAGXIZq2AFzQpvkACCEQcahP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yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>If the computer has 2 CPUs, it has a total of </span><em><span>2</span></em><span> CPU time. Value </span><em><span>0</span></em><span> indicates no CPU limit. 如果计算机有 2 个 CPU，则总共有 </span><em><span>2</span></em><span> 个 CPU 时间。值 </span><em><span>0</span></em><span> 表示没有 CPU 限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (0 - 500000) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （0 - 500000） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a container, will be clamped to [1, 10000] in cgroup v2. 容器的 CPU 权重，将在 cgroup v2 中被限制为 [1， 10000]。</span></p></li><li><p><span>--debug </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --debug </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Try to be more verbose. For now this only enables debug log-level on start. 尽量更详细。目前，这仅在启动时启用调试日志级别。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the Container. Shown in the web-interface CT’s summary. This is saved as comment inside the configuration file. 容器的说明。显示在 Web 界面 CT 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--dev[n] [[path=]</span><Path><span>] [,gid=</span><integer><span>] [,mode=</span><Octal access mode><span>] [,uid=</span><integer><span>] --dev[n] [[path=]</span><Path><span>] [，gid=</span><integer><span>] [，mode=</span><ctal access mode><span>] [，uid=</span><integer><span>]</span></p><p><span>Device to pass through to the container 要传递到容器的设备</span></p></li><li><p><span>--features [force_rw_sys=&lt;1|0&gt;] [,fuse=&lt;1|0&gt;] [,keyctl=&lt;1|0&gt;] [,mknod=&lt;1|0&gt;] [,mount=&lt;fstype;fstype;...&gt;] [,nesting=&lt;1|0&gt;] --features [force_rw_sys=&lt;1|0&gt;] [，fuse=&lt;1|0&gt;] [，keyctl=&lt;1|0&gt;] [，mknod=&lt;1|0&gt;] [，mount=&lt;fstype;fstype;...&gt;] [，nesting=&lt;1|0&gt;]</span></p><p><span>Allow containers access to advanced features. 允许容器访问高级功能。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Allow to overwrite existing container. 允许覆盖现有容器。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be exectued during various steps in the containers lifetime. 将在容器生命周期中的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostname </span><string><span> --主机名 </span><string></p><p><span>Set a host name for the container. 为容器设置主机名。</span></p></li><li><p><span>--ignore-unpack-errors </span><boolean></p><p><span>Ignore errors when extracting the template. 提取模板时忽略错误。</span></p></li><li><p><span>--lock &lt;backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete&gt;</span></p><p><span>Lock/unlock the container. 锁定/解锁容器。</span></p></li><li><p><span>--memory </span><integer><span> (16 - N) (</span><em><span>default =</span></em><span> 512) --memory </span><integer><span> （16 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of RAM for the container in MB. 容器的 RAM 量（以 MB 为单位）。</span></p></li><li><p><span>--mp[n] [volume=]</span><volume><span> ,mp=</span><Path><span> [,acl=&lt;1|0&gt;] [,backup=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --mp[n] [volume=]</span><volume><span> ，mp=</span><Path><span> [，acl=&lt;1|0&gt;] [，backup=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. 使用体积作为容器挂载点。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 服务器 IP 地址。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] name=</span><string><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,hwaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,ip=&lt;(IPv4/CIDR|dhcp|manual)&gt;] [,ip6=&lt;(IPv6/CIDR|auto|dhcp|manual)&gt;] [,link_down=&lt;1|0&gt;] [,mtu=</span><integer><span>] [,rate=</span><mbps><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,type=</span><veth><span>] --net[n] name=</span><string><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，hwaddr=&lt;XX：XX：XX：XX：XX：XX&gt;] [，ip=&lt;（IPv4/CIDR|dhcp|manual）&gt;] [，ip6=&lt;（IPv6/CIDR|auto|dhcp|manual）&gt;] [，link_down=&lt;1|0&gt;] [，mtu=</span><integer><span>] [，rate=</span><mbps><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，类型=</span><veth><span>]</span></p><p><span>Specifies network interfaces for the container. 指定容器的网络接口。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a container will be started during system bootup. 指定是否在系统启动期间启动容器。</span></p></li><li><p><span>--ostype &lt;alpine | archlinux | centos | debian | devuan | fedora | gentoo | nixos | opensuse | ubuntu | unmanaged&gt;</span></p><p><span>OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/</span><ostype><span>.common.conf. Value </span><em><span>unmanaged</span></em><span> can be used to skip and OS specific setup. 操作系统类型。这用于在容器内部设置配置，对应于 /usr/share/lxc/config/.common.conf 中的 lxc 设置脚本。值 </span><em><span>unmanaged</span></em><span> 可用于跳过和特定于操作系统的设置。</span></p></li><li><p><span>--password </span><password><span> --密码 &lt;密码&gt;</span></p><p><span>Sets root password inside container. 在容器内设置 root 密码。</span></p></li><li><p><span>--pool </span><string></p><p><span>Add the VM to the specified pool. 将 VM 添加到指定的池中。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the container. This will prevent the CT or CT’s disk remove/update operation. 设置容器的保护标志。这将阻止 CT 或 CT 的磁盘删除/更新操作。</span></p></li><li><p><span>--rootfs [volume=]</span><volume><span> [,acl=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --rootfs [volume=]</span><volume><span> [，acl=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container root. 使用卷作为容器根目录。</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 搜索域。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--ssh-public-keys </span><filepath><span> --ssh-公钥 &lt;文件路径&gt;</span></p><p><span>Setup public SSH keys (one key per line, OpenSSH format). 设置公共 SSH 密钥（每行一个密钥，OpenSSH 格式）。</span></p></li><li><p><span>--start </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --start </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Start the CT after its creation finished successfully. 在成功创建 CT 后启动 CT。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--storage </span><storage ID><span> (</span><em><span>default =</span></em><span> local) --storage &lt;存储 ID&gt;（</span><em><span>默认值 =</span></em><span> 本地）</span></p><p><span>Default Storage. 默认存储。</span></p></li><li><p><span>--swap </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 512) --swap </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of SWAP for the container in MB. 容器的 SWAP 量（以 MB 为单位）。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the Container. This is only meta information. 容器的标记。这只是元信息。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--timezone </span><string></p><p><span>Time zone to use in the container. If option isn’t set, then nothing will be done. Can be set to </span><em><span>host</span></em><span> to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab 要在容器中使用的时区。如果未设置选项，则不会执行任何操作。可以设置为</span><em><span>主机</span></em><span>以匹配主机时区，或从 /usr/share/zoneinfo/zone.tab 中设置任意时区选项</span></p></li><li><p><span>--tty </span><integer><span> (0 - 6) (</span><em><span>default =</span></em><span> 2) --tty </span><integer><span> （0 - 6） （</span><em><span>默认值 =</span></em><span> 2）</span></p><p><span>Specify the number of tty available to the container 指定容器可用的 tty 数量</span></p></li><li><p><span>--unique </span><boolean><span> --唯一 </span><boolean></p><p><span>Assign a unique random ethernet address. 分配一个唯一的随机以太网地址。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx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SZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): restore 需要选项： restore</span></p></li><li><p><span>--unprivileged </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --unprivileged </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Makes the container run as unprivileged user. (Should not be modified manually.) 使容器以非特权用户身份运行。（不应手动修改。</span></p></li><li><p><span>--unused[n] [volume=]</span><volume><span> --未使用[n] [音量=]&lt;音量&gt;</span></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li></ul><p><strong><span>pct resume</span></strong><span> </span><vmid>
<strong><span>pct 恢复</span></strong><span> </span><vmid></p><p><span>Resume the container. 恢复容器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct rollback</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>pct 回滚</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Rollback LXC state to specified snapshot.</span>
<span>将 LXC 状态回滚到指定的快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--start </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --start </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Whether the container should get started after rolling back successfully 成功回滚后容器是否应启动</span></p></li></ul><p><strong><span>pct set</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct set</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Set container options. 设置容器选项。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt; (</span><em><span>default =</span></em><span> amd64) --arch &lt;amd64 | arm64 | armhf | i386 | riscv32 | riscv64&gt;（</span><em><span>默认值 =</span></em><span> amd64）</span></p><p><span>OS architecture type. 操作系统体系结构类型。</span></p></li><li><p><span>--cmode &lt;console | shell | tty&gt; (</span><em><span>default =</span></em><span> tty) --cmode &lt;console | shell | tty&gt;（</span><em><span>默认值 =</span></em><span> tty）</span></p><p><span>Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to </span><em><span>console</span></em><span> it tries to attach to /dev/console instead. If you set cmode to </span><em><span>shell</span></em><span>, it simply invokes a shell inside the container (no login). 控制台模式。默认情况下，console 命令会尝试打开与其中一个可用 tty 设备的连接。通过将 cmode 设置为 </span><em><span>console</span></em><span>，它会尝试连接到 /dev/console。如果将 cmode 设置为 </span><em><span>shell</span></em><span>，它只会在容器内调用一个 shell（无需登录）。</span></p></li><li><p><span>--console </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --console </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Attach a console device (/dev/console) to the container. 将控制台设备 （/dev/console） 连接到容器。</span></p></li><li><p><span>--cores </span><integer><span> (1 - 8192) --cores </span><integer><span> （1 - 8192）</span></p><p><span>The number of cores assigned to the container. A container can use all available cores by default. 分配给容器的核心数。默认情况下，容器可以使用所有可用核心。</span></p></li><li><p><span>--cpulimit </span><number><span> (0 - 8192) (</span><em><span>default =</span></em><span> 0) --cpulimit </span><number><span> （0 - 8192） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit of CPU usage. CPU 使用率限制。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5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ujt7erOLO2mk3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>If the computer has 2 CPUs, it has a total of </span><em><span>2</span></em><span> CPU time. Value </span><em><span>0</span></em><span> indicates no CPU limit. 如果计算机有 2 个 CPU，则总共有 </span><em><span>2</span></em><span> 个 CPU 时间。值 </span><em><span>0</span></em><span> 表示没有 CPU 限制。</span></p></li><li><p><span>--cpuunits </span><integer><span> (0 - 500000) (</span><em><span>default =</span></em><span> cgroup v1: 1024, cgroup v2: 100) --cpuunits </span><integer><span> （0 - 500000） （</span><em><span>默认值 =</span></em><span> cgroup v1： 1024， cgroup v2： 100）</span></p><p><span>CPU weight for a container, will be clamped to [1, 10000] in cgroup v2. 容器的 CPU 权重，将在 cgroup v2 中被限制为 [1， 10000]。</span></p></li><li><p><span>--debug </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --debug </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Try to be more verbose. For now this only enables debug log-level on start. 尽量更详细。目前，这仅在启动时启用调试日志级别。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--description </span><string></p><p><span>Description for the Container. Shown in the web-interface CT’s summary. This is saved as comment inside the configuration file. 容器的说明。显示在 Web 界面 CT 的摘要中。这将在配置文件中另存为注释。</span></p></li><li><p><span>--dev[n] [[path=]</span><Path><span>] [,gid=</span><integer><span>] [,mode=</span><Octal access mode><span>] [,uid=</span><integer><span>] --dev[n] [[path=]</span><Path><span>] [，gid=</span><integer><span>] [，mode=</span><ctal access mode><span>] [，uid=</span><integer><span>]</span></p><p><span>Device to pass through to the container 要传递到容器的设备</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的 SHA1 摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--features [force_rw_sys=&lt;1|0&gt;] [,fuse=&lt;1|0&gt;] [,keyctl=&lt;1|0&gt;] [,mknod=&lt;1|0&gt;] [,mount=&lt;fstype;fstype;...&gt;] [,nesting=&lt;1|0&gt;] --features [force_rw_sys=&lt;1|0&gt;] [，fuse=&lt;1|0&gt;] [，keyctl=&lt;1|0&gt;] [，mknod=&lt;1|0&gt;] [，mount=&lt;fstype;fstype;...&gt;] [，nesting=&lt;1|0&gt;]</span></p><p><span>Allow containers access to advanced features. 允许容器访问高级功能。</span></p></li><li><p><span>--hookscript </span><string></p><p><span>Script that will be exectued during various steps in the containers lifetime. 将在容器生命周期中的各个步骤中执行的脚本。</span></p></li><li><p><span>--hostname </span><string><span> --主机名 </span><string></p><p><span>Set a host name for the container. 为容器设置主机名。</span></p></li><li><p><span>--lock &lt;backup | create | destroyed | disk | fstrim | migrate | mounted | rollback | snapshot | snapshot-delete&gt;</span></p><p><span>Lock/unlock the container. 锁定/解锁容器。</span></p></li><li><p><span>--memory </span><integer><span> (16 - N) (</span><em><span>default =</span></em><span> 512) --memory </span><integer><span> （16 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of RAM for the container in MB. 容器的 RAM 量（以 MB 为单位）。</span></p></li><li><p><span>--mp[n] [volume=]</span><volume><span> ,mp=</span><Path><span> [,acl=&lt;1|0&gt;] [,backup=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --mp[n] [volume=]</span><volume><span> ，mp=</span><Path><span> [，acl=&lt;1|0&gt;] [，backup=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container mount point. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. 使用体积作为容器挂载点。使用特殊语法 STORAGE_ID：SIZE_IN_GiB 分配新卷。</span></p></li><li><p><span>--nameserver </span><string></p><p><span>Sets DNS server IP address for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 服务器 IP 地址。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--net[n] name=</span><string><span> [,bridge=</span><bridge><span>] [,firewall=&lt;1|0&gt;] [,gw=</span><GatewayIPv4><span>] [,gw6=</span><GatewayIPv6><span>] [,hwaddr=</span><a href='XX:XX:XX:XX:XX:XX' target='_blank' class='url'>XX:XX:XX:XX:XX:XX</a><span>] [,ip=&lt;(IPv4/CIDR|dhcp|manual)&gt;] [,ip6=&lt;(IPv6/CIDR|auto|dhcp|manual)&gt;] [,link_down=&lt;1|0&gt;] [,mtu=</span><integer><span>] [,rate=</span><mbps><span>] [,tag=</span><integer><span>] [,trunks=&lt;vlanid[;vlanid...]&gt;] [,type=</span><veth><span>] --net[n] name=</span><string><span> [，bridge=</span><bridge><span>] [，firewall=&lt;1|0&gt;] [，gw=</span><GatewayIPv4><span>] [，gw6=</span><GatewayIPv6><span>] [，hwaddr=&lt;XX：XX：XX：XX：XX：XX&gt;] [，ip=&lt;（IPv4/CIDR|dhcp|manual）&gt;] [，ip6=&lt;（IPv6/CIDR|auto|dhcp|manual）&gt;] [，link_down=&lt;1|0&gt;] [，mtu=</span><integer><span>] [，rate=</span><mbps><span>] [，tag=</span><integer><span>] [，trunks=&lt;vlanid[;弗拉尼德...]&gt;] [，类型=</span><veth><span>]</span></p><p><span>Specifies network interfaces for the container. 指定容器的网络接口。</span></p></li><li><p><span>--onboot </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --onboot </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Specifies whether a container will be started during system bootup. 指定是否在系统启动期间启动容器。</span></p></li><li><p><span>--ostype &lt;alpine | archlinux | centos | debian | devuan | fedora | gentoo | nixos | opensuse | ubuntu | unmanaged&gt;</span></p><p><span>OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/</span><ostype><span>.common.conf. Value </span><em><span>unmanaged</span></em><span> can be used to skip and OS specific setup. 操作系统类型。这用于在容器内部设置配置，对应于 /usr/share/lxc/config/.common.conf 中的 lxc 设置脚本。值 </span><em><span>unmanaged</span></em><span> 可用于跳过和特定于操作系统的设置。</span></p></li><li><p><span>--protection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --protection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Sets the protection flag of the container. This will prevent the CT or CT’s disk remove/update operation. 设置容器的保护标志。这将阻止 CT 或 CT 的磁盘删除/更新操作。</span></p></li><li><p><span>--revert </span><string></p><p><span>Revert a pending change. 还原挂起的更改。</span></p></li><li><p><span>--rootfs [volume=]</span><volume><span> [,acl=&lt;1|0&gt;] [,mountoptions=&lt;opt[;opt...]&gt;] [,quota=&lt;1|0&gt;] [,replicate=&lt;1|0&gt;] [,ro=&lt;1|0&gt;] [,shared=&lt;1|0&gt;] [,size=</span><DiskSize><span>] --rootfs [volume=]</span><volume><span> [，acl=&lt;1|0&gt;] [，mountoptions=&lt;opt[;opt...]&gt;] [，quota=&lt;1|0&gt;] [，replicate=&lt;1|0&gt;] [，ro=&lt;1|0&gt;] [，shared=&lt;1|0&gt;] [，size=</span><DiskSize><span>]</span></p><p><span>Use volume as container root. 使用卷作为容器根目录。</span></p></li><li><p><span>--searchdomain </span><string></p><p><span>Sets DNS search domains for a container. Create will automatically use the setting from the host if you neither set searchdomain nor nameserver. 设置容器的 DNS 搜索域。如果您既没有设置 searchdomain 也没有设置 nameserver，Create 将自动使用主机的设置。</span></p></li><li><p><span>--startup </span><code>[[order=]\d+] [,up=\d+] [,down=\d+]</code><span> --startup &#39;[[订单=]\d+] [，up=\d+] [，down=\d+] &#39;</span></p><p><span>Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the </span><em><span>up</span></em><span> or </span><em><span>down</span></em><span> delay in seconds, which specifies a delay to wait before the next VM is started or stopped. 启动和关闭行为。Order 是一个非负数，用于定义一般启动顺序。通过反向排序完成关机。此外，还可以设置</span><em><span>启动</span></em><span>或</span><em><span>关闭</span></em><span>延迟（以秒为单位），这指定了在启动或停止下一个 VM 之前要等待的延迟。</span></p></li><li><p><span>--swap </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 512) --swap </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 512）</span></p><p><span>Amount of SWAP for the container in MB. 容器的 SWAP 量（以 MB 为单位）。</span></p></li><li><p><span>--tags </span><string><span> --标签 </span><string></p><p><span>Tags of the Container. This is only meta information. 容器的标记。这只是元信息。</span></p></li><li><p><span>--template </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --template </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Enable/disable Template. 启用/禁用模板。</span></p></li><li><p><span>--timezone </span><string></p><p><span>Time zone to use in the container. If option isn’t set, then nothing will be done. Can be set to </span><em><span>host</span></em><span> to match the host time zone, or an arbitrary time zone option from /usr/share/zoneinfo/zone.tab 要在容器中使用的时区。如果未设置选项，则不会执行任何操作。可以设置为</span><em><span>主机</span></em><span>以匹配主机时区，或从 /usr/share/zoneinfo/zone.tab 中设置任意时区选项</span></p></li><li><p><span>--tty </span><integer><span> (0 - 6) (</span><em><span>default =</span></em><span> 2) --tty </span><integer><span> （0 - 6） （</span><em><span>默认值 =</span></em><span> 2）</span></p><p><span>Specify the number of tty available to the container 指定容器可用的 tty 数量</span></p></li><li><p><span>--unprivileged </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --unprivileged </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Makes the container run as unprivileged user. (Should not be modified manually.) 使容器以非特权用户身份运行。（不应手动修改。</span></p></li><li><p><span>--unused[n] [volume=]</span><volume><span> --未使用[n] [音量=]&lt;音量&gt;</span></p><p><span>Reference to unused volumes. This is used internally, and should not be modified manually. 对未使用卷的引用。这是在内部使用的，不应手动修改。</span></p></li></ul><p><strong><span>pct shutdown</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct shutdown</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Shutdown the container. This will trigger a clean shutdown of the container, see lxc-stop(1) for details.</span>
<span>关闭容器。这将触发容器的干净关闭，详见 lxc-stop（1）。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--forceStop </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --forceStop </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Make sure the Container stops. 确保容器停止。</span></p></li><li><p><span>--timeout </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 60) --timeout </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 60）</span></p><p><span>Wait maximal timeout seconds. 等待最大超时秒数。</span></p></li></ul><p><strong><span>pct snapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [OPTIONS]</span>
<strong><span>pct snapshot</span></strong><span> </span><vmid><span> </span><snapname><span> [选项]</span></p><p><span>Snapshot a container. 为容器拍摄快照。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><snapname><span>: </span><string><span> </span><snapname><span>： </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--description </span><string></p><p><span>A textual description or comment. 文本描述或注释。</span></p></li></ul><p><strong><span>pct start</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct start</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Start the container. 启动容器。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--debug </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --debug </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If set, enables very verbose debug log-level on start. 如果设置，则在启动时启用非常详细的调试日志级别。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>pct status</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct status</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Show CT status. 显示 CT 状态。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format 详细输出格式</span></p></li></ul><p><strong><span>pct stop</span></strong><span> </span><vmid><span> [OPTIONS]</span>
<strong><span>pct stop</span></strong><span> </span><vmid><span> [选项]</span></p><p><span>Stop the container. This will abruptly stop all processes running in the container.</span>
<span>停止容器。这将突然停止在容器中运行的所有进程。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><span>--overrule-shutdown </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --overrule-shutdown </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Try to abort active </span><em><span>vzshutdown</span></em><span> tasks before stopping. 尝试在停止之前中止活动的 </span><em><span>vzshutdown</span></em><span> 任务。</span></p></li><li><p><span>--skiplock </span><boolean></p><p><span>Ignore locks - only root is allowed to use this option. 忽略锁 - 只允许 root 使用此选项。</span></p></li></ul><p><strong><span>pct suspend</span></strong><span> </span><vmid>
<strong><span>pct 挂起</span></strong><span> </span><vmid></p><p><span>Suspend the container. This is experimental.</span>
<span>暂停容器。这是实验性的。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct template</span></strong><span> </span><vmid>
<strong><span>pct 模板</span></strong><span> </span><vmid></p><p><span>Create a Template. 创建模板。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct unlock</span></strong><span> </span><vmid>
<strong><span>pct 解锁</span></strong><span> </span><vmid></p><p><span>Unlock the VM. 解锁 VM。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><p><strong><span>pct unmount</span></strong><span> </span><vmid>
<strong><span>pct 卸载</span></strong><span> </span><vmid></p><p><span>Unmount the container’s filesystem.</span>
<span>卸载容器的文件系统。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li></ul><h3 id='2211-pveam---proxmox-ve-appliance-manager-2211-pveam---proxmox-ve设备管理器'><span>22.11. </span><strong><span>pveam</span></strong><span> - Proxmox VE Appliance Manager 22.11. </span><strong><span>pveam</span></strong><span> - Proxmox VE设备管理器 </span></h3><p><strong><span>pveam</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>pveam</span></strong><span> </span><COMMAND><span> [ARGS] [选项]</span></p><p><strong><span>pveam available</span></strong><span> [OPTIONS]</span>
<strong><span>pveam 可用</span></strong><span> [选项]</span></p><p><span>List available templates.</span>
<span>列出可用的模板。</span></p><ul><li><p><span>--section &lt;mail | system | turnkeylinux&gt; --section &lt;mail | 系统 | turnkeylinux&gt;</span></p><p><span>Restrict list to specified section. 将列表限制为指定部分。</span></p></li></ul><p><strong><span>pveam download</span></strong><span> </span><storage><span> </span><template>
<strong><span>pveam 下载</span></strong><span> </span><storage><span> </span><template></p><p><span>Download appliance templates.</span>
<span>下载设备模板。</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>The storage where the template will be stored 将存储模板的存储</span></p></li><li><p><template><span>: </span><string><span> </span><template><span>： </span><string></p><p><span>The template which will downloaded 将下载的模板</span></p></li></ul><p><strong><span>pveam help</span></strong><span> [OPTIONS]</span>
<strong><span>pveam help</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pveam list</span></strong><span> </span><storage>
<strong><span>pveam 列表</span></strong><span> &lt;存储&gt;</span></p><p><span>Get list of all templates on storage</span>
<span>获取存储上所有模板的列表</span></p><ul><li><p><storage><span>: </span><storage ID><span> &lt;存储&gt;： &lt;存储ID&gt;</span></p><p><span>Only list templates on specified storage 仅列出指定存储上的模板</span></p></li></ul><p><strong><span>pveam remove</span></strong><span> &lt;template_path&gt;</span>
<strong><span>pveam 删除</span></strong><span> &lt;template_path&gt;</span></p><p><span>Remove a template. 删除模板。</span></p><ul><li><p><span>&lt;template_path&gt;: </span><string><span> &lt;template_path&gt;： </span><string></p><p><span>The template to remove. 要删除的模板。</span></p></li></ul><p><strong><span>pveam update PVEAM更新</span></strong></p><p><span>Update Container Template Database.</span>
<span>更新容器模板数据库。</span></p><h3 id='2212-pvecm---proxmox-ve-cluster-manager-2212-pvecm---proxmox-ve集群管理器'><span>22.12. </span><strong><span>pvecm</span></strong><span> - Proxmox VE Cluster Manager 22.12. </span><strong><span>pvecm</span></strong><span> - Proxmox VE集群管理器 </span></h3><p><strong><span>pvecm</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>pvecm</span></strong><span> </span><COMMAND><span> [参数] [选项]</span></p><p><strong><span>pvecm add</span></strong><span> </span><hostname><span> [OPTIONS]</span>
<strong><span>pvecm 添加</span></strong><span> </span><hostname><span> [选项]</span></p><p><span>Adds the current node to an existing cluster.</span>
<span>将当前节点添加到现有集群中。</span></p><ul><li><p><hostname><span>: </span><string><span> &lt;主机名&gt;： </span><string></p><p><span>Hostname (or IP) of an existing cluster member. 现有集群成员的主机名（或 IP）。</span></p></li><li><p><span>--fingerprint ([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2} -- 指纹（A-F0-9]{2}:){31}[A-F-F0-9]{2}</span></p><p><span>Certificate SHA 256 fingerprint. 证书 SHA 256 指纹。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Do not throw error if node already exists. 如果节点已存在，请不要抛出错误。</span></p></li><li><p><span>--link[n] [address=]</span><IP><span> [,priority=</span><integer><span>] --link[n] [address=]</span><IP><span> [，priority=</span><integer><span>]</span></p><p><span>Address and priority information of a single corosync link. (up to 8 links supported; link0..link7) 单个 corosync 链路的地址和优先级信息。（最多支持 8 个链接;链接 0。.链接7）</span></p></li><li><p><span>--nodeid </span><integer><span> (1 - N) --nodeid </span><integer><span> （1 - N）</span></p><p><span>Node id for this node. 此节点的节点 ID。</span></p></li><li><p><span>--use_ssh </span><boolean></p><p><span>Always use SSH to join, even if peer may do it over API. 始终使用 SSH 加入，即使对等方可能通过 API 进行加入。</span></p></li><li><p><span>--votes </span><integer><span> (0 - N) --票 </span><integer><span> （0 - N）</span></p><p><span>Number of votes for this node 此节点的票数</span></p></li></ul><p><strong><span>pvecm addnode</span></strong><span> </span><node><span> [OPTIONS]</span>
<strong><span>pvecm addnode</span></strong><span> </span><node><span> [选项]</span></p><p><span>Adds a node to the cluster configuration. This call is for internal use.</span>
<span>将节点添加到群集配置中。此调用供内部使用。</span></p><ul><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li><li><p><span>--apiversion </span><integer></p><p><span>The JOIN_API_VERSION of the new node. 新节点的JOIN_API_VERSION。</span></p></li><li><p><span>--force </span><boolean></p><p><span>Do not throw error if node already exists. 如果节点已存在，请不要抛出错误。</span></p></li><li><p><span>--link[n] [address=]</span><IP><span> [,priority=</span><integer><span>] --link[n] [address=]</span><IP><span> [，priority=</span><integer><span>]</span></p><p><span>Address and priority information of a single corosync link. (up to 8 links supported; link0..link7) 单个 corosync 链路的地址和优先级信息。（最多支持 8 个链接;链接 0。.链接7）</span></p></li><li><p><span>--new_node_ip </span><string></p><p><span>IP Address of node to add. Used as fallback if no links are given. 要添加的节点的 IP 地址。如果未给出任何链接，则用作回退。</span></p></li><li><p><span>--nodeid </span><integer><span> (1 - N) --nodeid </span><integer><span> （1 - N）</span></p><p><span>Node id for this node. 此节点的节点 ID。</span></p></li><li><p><span>--votes </span><integer><span> (0 - N) --票 </span><integer><span> （0 - N）</span></p><p><span>Number of votes for this node 此节点的票数</span></p></li></ul><p><strong><span>pvecm apiver</span></strong></p><p><span>Return the version of the cluster join API available on this node.</span>
<span>返回此节点上可用的集群加入 API 的版本。</span></p><p><strong><span>pvecm create</span></strong><span> </span><clustername><span> [OPTIONS]</span>
<strong><span>pvecm create</span></strong><span> </span><clustername><span> [选项]</span></p><p><span>Generate new cluster configuration. If no links given, default to local IP address as link0.</span>
<span>生成新的集群配置。如果未给出链接，则默认为本地 IP 地址作为 link0。</span></p><ul><li><p><clustername><span>: </span><string><span> </span><clustername><span>： </span><string></p><p><span>The name of the cluster. 群集的名称。</span></p></li><li><p><span>--link[n] [address=]</span><IP><span> [,priority=</span><integer><span>] --link[n] [address=]</span><IP><span> [，priority=</span><integer><span>]</span></p><p><span>Address and priority information of a single corosync link. (up to 8 links supported; link0..link7) 单个 corosync 链路的地址和优先级信息。（最多支持 8 个链接;链接 0。.链接7）</span></p></li><li><p><span>--nodeid </span><integer><span> (1 - N) --nodeid </span><integer><span> （1 - N）</span></p><p><span>Node id for this node. 此节点的节点 ID。</span></p></li><li><p><span>--votes </span><integer><span> (1 - N) --票 </span><integer><span> （1 - N）</span></p><p><span>Number of votes for this node. 此节点的票数。</span></p></li></ul><p><strong><span>pvecm delnode</span></strong><span> </span><node></p><p><span>Removes a node from the cluster configuration.</span>
<span>从群集配置中删除节点。</span></p><ul><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li></ul><p><strong><span>pvecm expected</span></strong><span> </span><expected>
<strong><span>pvecm 预期</span></strong><span> &lt;预期&gt;</span></p><p><span>Tells corosync a new value of expected votes.</span>
<span>告诉 corosync 预期投票的新值。</span></p><ul><li><p><expected><span>: </span><integer><span> (1 - N) </span><expected><span>： </span><integer><span> （1 - N）</span></p><p><span>Expected votes 预期票数</span></p></li></ul><p><strong><span>pvecm help</span></strong><span> [OPTIONS]</span>
<strong><span>pvecm 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvecm keygen</span></strong><span> </span><filename>
<strong><span>pvecm 凯基</span></strong><span> &lt;文件名&gt;</span></p><p><span>Generate new cryptographic key for corosync.</span>
<span>为 corosync 生成新的加密密钥。</span></p><ul><li><p><filename><span>: </span><string><span> &lt;文件名&gt;： </span><string></p><p><span>Output file name 输出文件名</span></p></li></ul><p><strong><span>pvecm mtunnel</span></strong><span> [</span><extra-args><span>] [OPTIONS]</span>
<strong><span>pvecm mtunnel</span></strong><span> [</span><extra-args><span>] [选项]</span></p><p><span>Used by VM/CT migration - do not use manually.</span>
<span>由 VM/CT 迁移使用 - 请勿手动使用。</span></p><ul><li><p><extra-args><span>: </span><array><span> </span><extra-args><span>： </span><array></p><p><span>Extra arguments as array 作为数组的额外参数</span></p></li><li><p><span>--get_migration_ip </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --get_migration_ip </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>return the migration IP, if configured 返回迁移 IP（如果已配置）</span></p></li><li><p><span>--migration_network </span><string></p><p><span>the migration network used to detect the local migration IP 用于检测本地迁移 IP 的迁移网络</span></p></li><li><p><span>--run-command </span><boolean></p><p><span>Run a command with a tcp socket as standard input. The IP address and port are printed via this command’s stdandard output first, each on a separate line. 运行使用 tcp 套接字作为标准输入的命令。IP 地址和端口首先通过此命令的标准输出打印，每个输出都在单独的行上。</span></p></li></ul><p><strong><span>pvecm nodes PVECM节点</span></strong></p><p><span>Displays the local view of the cluster nodes.</span>
<span>显示群集节点的本地视图。</span></p><p><strong><span>pvecm qdevice remove PVECM QDede 删除</span></strong></p><p><span>Remove a configured QDevice</span>
<span>删除已配置的 QDevice</span></p><p><strong><span>pvecm qdevice setup</span></strong><span> </span><address><span> [OPTIONS]</span>
<strong><span>pvecm qdevice 设置</span></strong><span> </span><address><span> [选项]</span></p><p><span>Setup the use of a QDevice</span>
<span>设置 QDevice 的使用</span></p><ul><li><p><address><span>: </span><string><span> </span><address><span>： </span><string></p><p><span>Specifies the network address of an external corosync QDevice 指定外部 corosync QDevice 的网络地址</span></p></li><li><p><span>--force </span><boolean></p><p><span>Do not throw error on possible dangerous operations. 不要在可能的危险操作上抛出错误。</span></p></li><li><p><span>--network </span><string></p><p><span>The network which should be used to connect to the external qdevice 应用于连接到外部 qdevice 的网络</span></p></li></ul><p><strong><span>pvecm status PVECM状态</span></strong></p><p><span>Displays the local view of the cluster status.</span>
<span>显示集群状态的本地视图。</span></p><p><strong><span>pvecm updatecerts</span></strong><span> [OPTIONS]</span>
<strong><span>pvecm updatecerts</span></strong><span> [选项]</span></p><p><span>Update node certificates (and generate all needed files/directories).</span>
<span>更新节点证书（并生成所有需要的文件/目录）。</span></p><ul><li><p><span>--force </span><boolean></p><p><span>Force generation of new SSL certificate. 强制生成新的SSL证书。</span></p></li><li><p><span>--silent </span><boolean></p><p><span>Ignore errors (i.e. when cluster has no quorum). 忽略错误（即当集群没有仲裁时）。</span></p></li><li><p><span>--unmerge-known-hosts </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --unmerge-known-hosts </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Unmerge legacy SSH known hosts. 取消合并旧版 SSH 已知主机。</span></p></li></ul><h3 id='2213-pvesr---proxmox-ve-storage-replication-2213-pvesr---proxmox-ve存储复制'><span>22.13. </span><strong><span>pvesr</span></strong><span> - Proxmox VE Storage Replication 22.13. </span><strong><span>pvesr</span></strong><span> - Proxmox VE存储复制 </span></h3><p><strong><span>pvesr</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span></p><p><strong><span>pvesr create-local-job</span></strong><span> </span><id><span> </span><target><span> [OPTIONS]</span>
<strong><span>pvesr create-local-job</span></strong><span> </span><id><span> </span><target><span> [选项]</span></p><p><span>Create a new replication job</span>
<span>创建新的复制作业</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><target><span>: </span><string><span> </span><target><span>： &lt;字符串&gt;</span></p><p><span>Target node. 目标节点。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable/deactivate the entry. 禁用/停用条目的标志。</span></p></li><li><p><span>--rate </span><number><span> (1 - N) --rate </span><number><span> （1 - N）</span></p><p><span>Rate limit in mbps (megabytes per second) as floating point number. 速率限制，以 mbps（兆字节/秒）为单位，作为浮点数。</span></p></li><li><p><span>--remove_job &lt;full | local&gt;</span></p><p><span>Mark the replication job for removal. The job will remove all local replication snapshots. When set to </span><em><span>full</span></em><span>, it also tries to remove replicated volumes on the target. The job then removes itself from the configuration file. 标记要删除的复制作业。该作业将删除所有本地复制快照。当设置为</span><em><span>满</span></em><span>时，它还会尝试删除目标上复制的卷。然后，作业将从配置文件中删除自身。</span></p></li><li><p><span>--schedule </span><string><span> (</span><em><span>default =</span></em><span> </span><em><span>/15) --schedule </span><string><span>（</span></em><span>默认值 =* */15）</span></p><p><span>Storage replication schedule. The format is a subset of systemd calendar events. 存储复制计划。该格式是 systemd 日历事件的子集。</span></p></li><li><p><span>--source </span><string></p><p><span>For internal use, to detect if the guest was stolen. 供内部使用，用于检测客人是否被盗。</span></p></li></ul><p><strong><span>pvesr delete</span></strong><span> </span><id><span> [OPTIONS]</span>
<strong><span>pvesr delete</span></strong><span> </span><id><span> [选项]</span></p><p><span>Mark replication job for removal.</span>
<span>将复制作业标记为删除。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Will remove the jobconfig entry, but will not cleanup. 将删除 jobconfig 条目，但不会清理。</span></p></li><li><p><span>--keep </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --keep </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Keep replicated data at target (do not remove). 将复制的数据保留在目标处（不要删除）。</span></p></li></ul><p><strong><span>pvesr disable</span></strong><span> </span><id>
<strong><span>pvesr 禁用</span></strong><span> </span><id></p><p><span>Disable a replication job.</span>
<span>禁用复制作业。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li></ul><p><strong><span>pvesr enable</span></strong><span> </span><id>
<strong><span>pvesr 启用</span></strong><span> </span><id></p><p><span>Enable a replication job.</span>
<span>启用复制作业。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li></ul><p><strong><span>pvesr finalize-local-job</span></strong><span> </span><id><span> [</span><extra-args><span>] [OPTIONS]</span>
<strong><span>pvesr finalize-local-job</span></strong><span> </span><id><span> [</span><extra-args><span>] [选项]</span></p><p><span>Finalize a replication job. This removes all replications snapshots with timestamps different than &lt;last_sync&gt;.</span>
<span>完成复制作业。这将删除时间戳与 不同的所有复制快照。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><extra-args><span>: </span><array><span> </span><extra-args><span>： </span><array></p><p><span>The list of volume IDs to consider. 要考虑的卷 ID 列表。</span></p></li><li><p><span>--last_sync </span><integer><span> (0 - N) --last_sync </span><integer><span> （0 - N）</span></p><p><span>Time (UNIX epoch) of last successful sync. If not specified, all replication snapshots gets removed. 上次成功同步的时间（UNIX 纪元）。如果未指定，则将删除所有复制快照。</span></p></li></ul><p><strong><span>pvesr help</span></strong><span> [OPTIONS]</span>
<strong><span>pvesr 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pvesr list PVESR列表</span></strong></p><p><span>List replication jobs. 列出复制作业。</span></p><p><strong><span>pvesr prepare-local-job</span></strong><span> </span><id><span> [</span><extra-args><span>] [OPTIONS]</span>
<strong><span>pvesr prepare-local-job</span></strong><span> </span><id><span> [</span><extra-args><span>] [选项]</span></p><p><span>Prepare for starting a replication job. This is called on the target node before replication starts. This call is for internal use, and return a JSON object on stdout. The method first test if VM </span><vmid><span> reside on the local node. If so, stop immediately. After that the method scans all volume IDs for snapshots, and removes all replications snapshots with timestamps different than &lt;last_sync&gt;. It also removes any unused volumes. Returns a hash with boolean markers for all volumes with existing replication snapshots.</span>
<span>准备启动复制作业。这是在复制开始之前在目标节点上调用的。此调用供内部使用，并在 stdout 上返回一个 JSON 对象。该方法首先测试 VM 是否驻留在本地节点上。如果是这样，请立即停止。之后，该方法将扫描所有卷 ID 以查找快照，并删除时间戳与 不同的所有复制快照。它还会删除任何未使用的卷。为具有现有复制快照的所有卷返回带有布尔标记的哈希。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><extra-args><span>: </span><array><span> </span><extra-args><span>： </span><array></p><p><span>The list of volume IDs to consider. 要考虑的卷 ID 列表。</span></p></li><li><p><span>--force </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --force </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Allow to remove all existion volumes (empty volume list). 允许删除所有现有卷（空卷列表）。</span></p></li><li><p><span>--last_sync </span><integer><span> (0 - N) --last_sync </span><integer><span> （0 - N）</span></p><p><span>Time (UNIX epoch) of last successful sync. If not specified, all replication snapshots get removed. 上次成功同步的时间（UNIX 纪元）。如果未指定，则将删除所有复制快照。</span></p></li><li><p><span>--parent_snapname </span><string></p><p><span>The name of the snapshot. 快照的名称。</span></p></li><li><p><span>--scan </span><string><span> --扫描 </span><string></p><p><span>List of storage IDs to scan for stale volumes. 要扫描过时卷的存储 ID 列表。</span></p></li></ul><p><strong><span>pvesr read</span></strong><span> </span><id>
<strong><span>pvesr 读取</span></strong><span> </span><id></p><p><span>Read replication job configuration.</span>
<span>读取复制作业配置。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li></ul><p><strong><span>pvesr run</span></strong><span> [OPTIONS]</span>
<strong><span>pvesr run</span></strong><span> [选项]</span></p><p><span>This method is called by the systemd-timer and executes all (or a specific) sync jobs.</span>
<span>此方法由 systemd-timer 调用，并执行所有（或特定）同步作业。</span></p><ul><li><p><span>--id </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><span>--mail </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --mail </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Send an email notification in case of a failure. 如果失败，请发送电子邮件通知。</span></p></li><li><p><span>--verbose </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verbose </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Print more verbose logs to stdout. 将更详细的日志打印到 stdout。</span></p></li></ul><p><strong><span>pvesr schedule-now</span></strong><span> </span><id></p><p><span>Schedule replication job to start as soon as possible.</span>
<span>计划尽快启动复制作业。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li></ul><p><strong><span>pvesr set-state</span></strong><span> </span><vmid><span> </span><state>
<strong><span>pvesr 设置状态</span></strong><span> </span><vmid><span> </span><state></p><p><span>Set the job replication state on migration. This call is for internal use. It will accept the job state as ja JSON obj.</span>
<span>在迁移时设置作业复制状态。此调用供内部使用。它将接受作业状态为 ja JSON obj。</span></p><ul><li><p><vmid><span>: </span><integer><span> (100 - 999999999) </span><vmid><span>： </span><integer><span> （100 - 999999999）</span></p><p><span>The (unique) ID of the VM. VM 的（唯一）ID。</span></p></li><li><p><state><span>: </span><string><span> </span><state><span>： </span><string></p><p><span>Job state as JSON decoded string. 作业状态作为 JSON 解码字符串。</span></p></li></ul><p><strong><span>pvesr status</span></strong><span> [OPTIONS]</span>
<strong><span>pvesr 状态</span></strong><span> [选项]</span></p><p><span>List status of all replication jobs on this node.</span>
<span>列出此节点上所有复制作业的状态。</span></p><ul><li><p><span>--guest </span><integer><span> (100 - 999999999) --guest </span><integer><span> （100 - 999999999）</span></p><p><span>Only list replication jobs for this guest. 仅列出此客户机的复制作业。</span></p></li></ul><p><strong><span>pvesr update</span></strong><span> </span><id><span> [OPTIONS]</span>
<strong><span>pvesr update</span></strong><span> </span><id><span> [选项]</span></p><p><span>Update replication job configuration.</span>
<span>更新复制作业配置。</span></p><ul><li><p><id><span>: </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9} </span><id><span>： </span>[<span>1-9</span>][0-9]<span>{2,8}-\d{1,9}</span></p><p><span>Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. </span><em><GUEST><span>-</span><JOBNUM></em><span>. 复制作业 ID。ID 由访客 ID 和作业编号组成，用连字符分隔，即 </span><em><GUEST><span>-</span><JOBNUM></em><span>。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--disable </span><boolean><span> --禁用 </span><boolean></p><p><span>Flag to disable/deactivate the entry. 禁用/停用条目的标志。</span></p></li><li><p><span>--rate </span><number><span> (1 - N) --rate </span><number><span> （1 - N）</span></p><p><span>Rate limit in mbps (megabytes per second) as floating point number. 速率限制，以 mbps（兆字节/秒）为单位，作为浮点数。</span></p></li><li><p><span>--remove_job &lt;full | local&gt;</span></p><p><span>Mark the replication job for removal. The job will remove all local replication snapshots. When set to </span><em><span>full</span></em><span>, it also tries to remove replicated volumes on the target. The job then removes itself from the configuration file. 标记要删除的复制作业。该作业将删除所有本地复制快照。当设置为</span><em><span>满</span></em><span>时，它还会尝试删除目标上复制的卷。然后，作业将从配置文件中删除自身。</span></p></li><li><p><span>--schedule </span><string><span> (</span><em><span>default =</span></em><span> </span><em><span>/15) --schedule </span><string><span>（</span></em><span>默认值 =* */15）</span></p><p><span>Storage replication schedule. The format is a subset of systemd calendar events. 存储复制计划。该格式是 systemd 日历事件的子集。</span></p></li><li><p><span>--source </span><string></p><p><span>For internal use, to detect if the guest was stolen. 供内部使用，用于检测客人是否被盗。</span></p></li></ul><h3 id='2214-pveum---proxmox-ve-user-manager-2214-pveum---proxmox-ve用户管理器'><span>22.14. </span><strong><span>pveum</span></strong><span> - Proxmox VE User Manager 22.14. </span><strong><span>pveum</span></strong><span> - Proxmox VE用户管理器 </span></h3><p><strong><span>pveum</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span></p><p><strong><span>pveum acl delete</span></strong><span> </span><path><span> --roles </span><string><span> [OPTIONS]</span>
<strong><span>pveum acl delete</span></strong><span> </span><path><span> --roles </span><string><span> [选项]</span></p><p><span>Update Access Control List (add or remove permissions).</span>
<span>更新访问控制列表（添加或删除权限）。</span></p><ul><li><p><path><span>: </span><string><span> </span><path><span>： </span><string></p><p><span>Access control path 访问控制路径</span></p></li><li><p><span>--groups </span><string></p><p><span>List of groups. 组列表。</span></p></li><li><p><span>--propagate </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --propagate </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Allow to propagate (inherit) permissions. 允许传播（继承）权限。</span></p></li><li><p><span>--roles </span><string></p><p><span>List of roles. 角色列表。</span></p></li><li><p><span>--tokens </span><string></p><p><span>List of API tokens. API 令牌列表。</span></p></li><li><p><span>--users </span><string></p><p><span>List of users. 用户列表。</span></p></li></ul><p><strong><span>pveum acl list</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVum副韧带副韧带列表</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>Get Access Control List (ACLs).</span>
<span>获取访问控制列表 （ACL）。</span></p><p><strong><span>pveum acl modify</span></strong><span> </span><path><span> --roles </span><string><span> [OPTIONS]</span>
<strong><span>pveum acl modify</span></strong><span> </span><path><span> --roles </span><string><span> [选项]</span></p><p><span>Update Access Control List (add or remove permissions).</span>
<span>更新访问控制列表（添加或删除权限）。</span></p><ul><li><p><path><span>: </span><string><span> </span><path><span>： </span><string></p><p><span>Access control path 访问控制路径</span></p></li><li><p><span>--groups </span><string></p><p><span>List of groups. 组列表。</span></p></li><li><p><span>--propagate </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --propagate </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Allow to propagate (inherit) permissions. 允许传播（继承）权限。</span></p></li><li><p><span>--roles </span><string></p><p><span>List of roles. 角色列表。</span></p></li><li><p><span>--tokens </span><string></p><p><span>List of API tokens. API 令牌列表。</span></p></li><li><p><span>--users </span><string></p><p><span>List of users. 用户列表。</span></p></li></ul><p><strong><span>pveum acldel</span></strong></p><p><span>An alias for </span><em><span>pveum acl delete</span></em><span>.</span>
<em><span>pveum acl delete</span></em><span> 的别名。</span></p><p><strong><span>pveum aclmod</span></strong></p><p><span>An alias for </span><em><span>pveum acl modify</span></em><span>.</span>
<em><span>pveum acl modify</span></em><span> 的别名。</span></p><p><strong><span>pveum group add</span></strong><span> </span><groupid><span> [OPTIONS]</span>
<strong><span>pveum group add</span></strong><span> </span><groupid><span> [选项]</span></p><p><span>Create new group. 创建新组。</span></p><ul><li><p><groupid><span>: </span><string><span> </span><groupid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum group delete</span></strong><span> </span><groupid>
<strong><span>pveum 组删除</span></strong><span> </span><groupid></p><p><span>Delete group. 删除组。</span></p><ul><li><p><groupid><span>: </span><string><span> </span><groupid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum group list</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVeum组列表</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>Group index. 组索引。</span></p><p><strong><span>pveum group modify</span></strong><span> </span><groupid><span> [OPTIONS]</span>
<strong><span>pveum group modify</span></strong><span> </span><groupid><span> [选项]</span></p><p><span>Update group data. 更新组数据。</span></p><ul><li><p><groupid><span>: </span><string><span> </span><groupid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum groupadd PVeum 组添加</span></strong></p><p><span>An alias for </span><em><span>pveum group add</span></em><span>.</span>
<em><span>pveum 组添加</span></em><span>的别名。</span></p><p><strong><span>pveum groupdel</span></strong></p><p><span>An alias for </span><em><span>pveum group delete</span></em><span>.</span>
<em><span>用于 pveum 组删除</span></em><span>的别名。</span></p><p><strong><span>pveum groupmod</span></strong></p><p><span>An alias for </span><em><span>pveum group modify</span></em><span>.</span>
<em><span>pveum 组修改</span></em><span>的别名。</span></p><p><strong><span>pveum help</span></strong><span> [OPTIONS]</span>
<strong><span>pveum 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>pveum passwd</span></strong><span> </span><userid><span> [OPTIONS]</span>
<strong><span>pveum passwd</span></strong><span> </span><userid><span> [选项]</span></p><p><span>Change user password. 更改用户密码。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><span>--confirmation-password </span><string><span> --确认密码 </span><string></p><p><span>The current password of the user performing the change. 执行更改的用户的当前密码。</span></p></li></ul><p><strong><span>pveum pool add</span></strong><span> </span><poolid><span> [OPTIONS]</span>
<strong><span>pveum 池添加</span></strong><span> </span><poolid><span> [选项]</span></p><p><span>Create new pool. 创建新池。</span></p><ul><li><p><poolid><span>: </span><string><span> </span><poolid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum pool delete</span></strong><span> </span><poolid>
<strong><span>pveum 池删除</span></strong><span> </span><poolid></p><p><span>Delete pool. 删除池。</span></p><ul><li><p><poolid><span>: </span><string><span> </span><poolid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum pool list</span></strong><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum 池列表</span></strong><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>List pools or get pool configuration.</span>
<span>列出池或获取池配置。</span></p><ul><li><p><span>--poolid </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--type &lt;lxc | qemu | storage&gt;</span></p><p><span>no description available 没有可用的描述</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNu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F56JIBjI6OMtDfWwAQ35jnc8AVpRXBohVq%0AUowECKqK4RBxoE0W6gvGCcEjaOEAwEQWdpgbGxujt7erOLO2mk3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): poolid 需要选项： poolid</span></p></li></ul><p><strong><span>pveum pool modify</span></strong><span> </span><poolid><span> [OPTIONS]</span>
<strong><span>pveum 池修改</span></strong><span> </span><poolid><span> [选项]</span></p><p><span>Update pool. 更新池。</span></p><ul><li><p><poolid><span>: </span><string><span> </span><poolid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--allow-move </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --allow-move </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Allow adding a guest even if already in another pool. The guest will be removed from its current pool and added to this one. 允许添加来宾，即使已在另一个池中。访客将从其当前池中删除并添加到此池中。</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--delete </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --delete </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Remove the passed VMIDs and/or storage IDs instead of adding them. 删除传递的 VMID 和/或存储 ID，而不是添加它们。</span></p></li><li><p><span>--storage </span><string></p><p><span>List of storage IDs to add or remove from this pool. 要在此池中添加或删除的存储 ID 列表。</span></p></li><li><p><span>--vms </span><string></p><p><span>List of guest VMIDs to add or remove from this pool. 要在此池中添加或删除的来宾 VMID 列表。</span></p></li></ul><p><strong><span>pveum realm add</span></strong><span> </span><realm><span> --type </span><string><span> [OPTIONS]</span>
<strong><span>pveum realm add</span></strong><span> </span><realm><span> --type </span><string><span> [选项]</span></p><p><span>Add an authentication server.</span>
<span>添加身份验证服务器。</span></p><ul><li><p><realm><span>: </span><string><span> </span><realm><span>： </span><string></p><p><span>Authentication domain ID 身份验证域 ID</span></p></li><li><p><span>--acr-values ^</span><span>[^\x00-\x1F\x7F &lt;&gt;#&quot;]</span><em><span>$ --acr-values ^</span><span>[^\x00-\x1F\x7F &lt;&gt;#“]</span></em><span>$</span></p><p><span>Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request. 指定请求 Authorization Server 用于身份验证请求的身份验证上下文类引用值。</span></p></li><li><p><span>--autocreate </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --autocreate </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Automatically create users if they do not exist. 如果用户不存在，则自动创建用户。</span></p></li><li><p><span>--base_dn </span><string></p><p><span>LDAP base domain name LDAP 基本域名</span></p></li><li><p><span>--bind_dn </span><string></p><p><span>LDAP bind domain name LDAP绑定域名</span></p></li><li><p><span>--capath </span><string><span> (</span><em><span>default =</span></em><span> /etc/ssl/certs) --capath </span><string><span>（</span><em><span>默认值 =</span></em><span> /etc/ssl/certs）</span></p><p><span>Path to the CA certificate store CA 证书存储的路径</span></p></li><li><p><span>--case-sensitive </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --区分大小写 </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>username is case-sensitive 用户名区分大小写</span></p></li><li><p><span>--cert </span><string></p><p><span>Path to the client certificate 客户端证书的路径</span></p></li><li><p><span>--certkey </span><string></p><p><span>Path to the client certificate key 客户端证书密钥的路径</span></p></li><li><p><span>--check-connection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --check-connection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Check bind connection to the server. 检查绑定到服务器的连接。</span></p></li><li><p><span>--client-id </span><string></p><p><span>OpenID Client ID OpenID 客户端 ID</span></p></li><li><p><span>--client-key </span><string></p><p><span>OpenID Client Key OpenID 客户端密钥</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--default </span><boolean></p><p><span>Use this as default realm 将此字段用作默认领域</span></p></li><li><p><span>--domain \S+ --域 \S+</span></p><p><span>AD domain name AD域名转让</span></p></li><li><p><span>--filter </span><string><span> --过滤器 </span><string></p><p><span>LDAP filter for user sync. 用于用户同步的 LDAP 过滤器。</span></p></li><li><p><span>--group_classes </span><string><span> (</span><em><span>default =</span></em><span> groupOfNames, group, univentionGroup, ipausergroup) --group_classes </span><string><span>（</span><em><span>默认值 =</span></em><span> groupOfNames、group、univentionGroup、ipausergroup）</span></p><p><span>The objectclasses for groups. 组的对象类。</span></p></li><li><p><span>--group_dn </span><string></p><p><span>LDAP base domain name for group sync. If not set, the base_dn will be used. 用于组同步的 LDAP 基本域名。如果未设置，将使用base_dn。</span></p></li><li><p><span>--group_filter </span><string></p><p><span>LDAP filter for group sync. 用于组同步的 LDAP 过滤器。</span></p></li><li><p><span>--group_name_attr </span><string></p><p><span>LDAP attribute representing a groups name. If not set or found, the first value of the DN will be used as name. 表示组名称的 LDAP 属性。如果未设置或找到，则 DN 的第一个值将用作名称。</span></p></li><li><p><span>--issuer-url </span><string></p><p><span>OpenID Issuer Url OpenID 颁发者 URL</span></p></li><li><p><span>--mode &lt;ldap | ldap+starttls | ldaps&gt; (</span><em><span>default =</span></em><span> ldap) --mode &lt;ldap | ldap+starttls | ldaps&gt;（</span><em><span>默认值 =</span></em><span> ldap）</span></p><p><span>LDAP protocol mode. LDAP协议模式。</span></p></li><li><p><span>--password </span><string><span> --密码 </span><string></p><p><span>LDAP bind password. Will be stored in </span><em><span>/etc/pve/priv/realm/</span><REALM><span>.pw</span></em><span>. LDAP 绑定密码。将存储在 </span><em><span>/etc/pve/priv/realm/</span><REALM><span>.pw</span></em><span> 中。</span></p></li><li><p><span>--port </span><integer><span> (1 - 65535) --端口 </span><integer><span> （1 - 65535）</span></p><p><span>Server port. 服务器端口。</span></p></li><li><p><span>--prompt (?:none|login|consent|select_account|\S+) --prompt （？：none|login|consent|select_account|\S+）</span></p><p><span>Specifies whether the Authorization Server prompts the End-User for reauthentication and consent. 指定授权服务器是否提示最终用户重新进行身份验证并征得同意。</span></p></li><li><p><span>--scopes </span><string><span> (</span><em><span>default =</span></em><span> email profile) --scopes </span><string><span>（</span><em><span>默认值 =</span></em><span> 电子邮件配置文件）</span></p><p><span>Specifies the scopes (user details) that should be authorized and returned, for example </span><em><span>email</span></em><span> or </span><em><span>profile</span></em><span>. 指定应授权和返回的范围（用户详细信息），例如</span><em><span>电子邮件</span></em><span>或</span><em><span>配置文件</span></em><span>。</span></p></li><li><p><span>--secure </span><boolean></p><p><span>Use secure LDAPS protocol. DEPRECATED: use </span><em><span>mode</span></em><span> instead. 使用安全的 LDAPS 协议。已弃用：改用</span><em><span>模式</span></em><span>。</span></p></li><li><p><span>--server1 </span><string></p><p><span>Server IP address (or DNS name) 服务器 IP 地址（或 DNS 名称）</span></p></li><li><p><span>--server2 </span><string></p><p><span>Fallback Server IP address (or DNS name) 回退服务器 IP 地址（或 DNS 名称）</span></p></li><li><p><span>--sslversion &lt;tlsv1 | tlsv1_1 | tlsv1_2 | tlsv1_3&gt;</span></p><p><span>LDAPS TLS/SSL version. It’s not recommended to use version older than 1.2! LDAPS TLS/SSL版本。不建议使用早于 1.2 的版本！</span></p></li><li><p><span>--sync-defaults-options [enable-new=&lt;1|0&gt;] [,full=&lt;1|0&gt;] [,purge=&lt;1|0&gt;] [,remove-vanished=([acl];[properties];[entry])|none] [,scope=&lt;users|groups|both&gt;] --sync-defaults-options [enable-new=&lt;1|0&gt;] [，full=&lt;1|0&gt;] [，purge=&lt;1|0&gt;] [，remove-vanished=（[acl];[性质];[条目]）|none] [，scope=&lt;users|groups|both&gt;]</span></p><p><span>The default options for behavior of synchronizations. 同步行为的默认选项。</span></p></li><li><p><span>--sync_attributes \w+=</span><span>[^,]</span><span>+(,\s</span><em><span>\w+=</span><span>[^,]</span><span>+)</span></em><span> --sync_attributes \w+=</span><span>[^，]</span><span>+（，\s</span><em><span>\w+=</span><span>[^，]</span><span>+）</span></em></p><p><span>Comma separated list of key=value pairs for specifying which LDAP attributes map to which PVE user field. For example, to map the LDAP attribute </span><em><span>mail</span></em><span> to PVEs </span><em><span>email</span></em><span>, write </span><em><span>email=mail</span></em><span>. By default, each PVE user field is represented by an LDAP attribute of the same name. 以逗号分隔的键=值对列表，用于指定哪些LDAP属性映射到哪个PVE用户字段。例如，要将 LDAP 属性 </span><em><span>mail</span></em><span> 映射到 PVE </span><em><span>电子邮件</span></em><span>，请编写 </span><em><span>email=mail</span></em><span>。默认情况下，每个 PVE 用户字段都由同名的 LDAP 属性表示。</span></p></li><li><p><span>--tfa type=</span><TFATYPE><span> [,digits=</span><COUNT><span>] [,id=</span><ID><span>] [,key=</span><KEY><span>] [,step=</span><SECONDS><span>] [,url=</span><URL><span>] --tfa type=</span><TFATYPE><span> [，digits=</span><COUNT><span>] [，id=</span><ID><span>] [，key=</span><KEY><span>] [，step=</span><SECONDS><span>] [，url=</span><URL><span>]</span></p><p><span>Use Two-factor authentication. 使用双因素身份验证。</span></p></li><li><p><span>--type &lt;ad | ldap | openid | pam | pve&gt;</span></p><p><span>Realm type. 领域类型。</span></p></li><li><p><span>--user_attr \S{2,} --user_attr \S{2，}</span></p><p><span>LDAP user attribute name LDAP 用户属性名称</span></p></li><li><p><span>--user_classes </span><string><span> (</span><em><span>default =</span></em><span> inetorgperson, posixaccount, person, user) --user_classes </span><string><span>（</span><em><span>默认值 =</span></em><span> inetorgperson、posixaccount、person、user）</span></p><p><span>The objectclasses for users. 用户的对象类。</span></p></li><li><p><span>--username-claim </span><string><span> --用户名声明 </span><string></p><p><span>OpenID claim used to generate the unique username. OpenID 声明，用于生成唯一用户名。</span></p></li><li><p><span>--verify </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verify </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Verify the server’s SSL certificate 验证服务器的 SSL 证书</span></p></li></ul><p><strong><span>pveum realm delete</span></strong><span> </span><realm>
<strong><span>pveum 领域删除</span></strong><span> </span><realm></p><p><span>Delete an authentication server.</span>
<span>删除认证服务器。</span></p><ul><li><p><realm><span>: </span><string><span> </span><realm><span>： </span><string></p><p><span>Authentication domain ID 身份验证域 ID</span></p></li></ul><p><strong><span>pveum realm list</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVuum 领域列表</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>Authentication domain index.</span>
<span>身份验证域索引。</span></p><p><strong><span>pveum realm modify</span></strong><span> </span><realm><span> [OPTIONS]</span>
<strong><span>pveum realm modify</span></strong><span> </span><realm><span> [选项]</span></p><p><span>Update authentication server settings.</span>
<span>更新身份验证服务器设置。</span></p><ul><li><p><realm><span>: </span><string><span> </span><realm><span>： </span><string></p><p><span>Authentication domain ID 身份验证域 ID</span></p></li><li><p><span>--acr-values ^</span><span>[^\x00-\x1F\x7F &lt;&gt;#&quot;]</span><em><span>$ --acr-values ^</span><span>[^\x00-\x1F\x7F &lt;&gt;#“]</span></em><span>$</span></p><p><span>Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request. 指定请求 Authorization Server 用于身份验证请求的身份验证上下文类引用值。</span></p></li><li><p><span>--autocreate </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --autocreate </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Automatically create users if they do not exist. 如果用户不存在，则自动创建用户。</span></p></li><li><p><span>--base_dn </span><string></p><p><span>LDAP base domain name LDAP 基本域名</span></p></li><li><p><span>--bind_dn </span><string></p><p><span>LDAP bind domain name LDAP绑定域名</span></p></li><li><p><span>--capath </span><string><span> (</span><em><span>default =</span></em><span> /etc/ssl/certs) --capath </span><string><span>（</span><em><span>默认值 =</span></em><span> /etc/ssl/certs）</span></p><p><span>Path to the CA certificate store CA 证书存储的路径</span></p></li><li><p><span>--case-sensitive </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --区分大小写 </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>username is case-sensitive 用户名区分大小写</span></p></li><li><p><span>--cert </span><string></p><p><span>Path to the client certificate 客户端证书的路径</span></p></li><li><p><span>--certkey </span><string></p><p><span>Path to the client certificate key 客户端证书密钥的路径</span></p></li><li><p><span>--check-connection </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --check-connection </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Check bind connection to the server. 检查绑定到服务器的连接。</span></p></li><li><p><span>--client-id </span><string></p><p><span>OpenID Client ID OpenID 客户端 ID</span></p></li><li><p><span>--client-key </span><string></p><p><span>OpenID Client Key OpenID 客户端密钥</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--default </span><boolean></p><p><span>Use this as default realm 将此字段用作默认领域</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--domain \S+ --域 \S+</span></p><p><span>AD domain name AD域名转让</span></p></li><li><p><span>--filter </span><string><span> --过滤器 </span><string></p><p><span>LDAP filter for user sync. 用于用户同步的 LDAP 过滤器。</span></p></li><li><p><span>--group_classes </span><string><span> (</span><em><span>default =</span></em><span> groupOfNames, group, univentionGroup, ipausergroup) --group_classes </span><string><span>（</span><em><span>默认值 =</span></em><span> groupOfNames、group、univentionGroup、ipausergroup）</span></p><p><span>The objectclasses for groups. 组的对象类。</span></p></li><li><p><span>--group_dn </span><string></p><p><span>LDAP base domain name for group sync. If not set, the base_dn will be used. 用于组同步的 LDAP 基本域名。如果未设置，将使用base_dn。</span></p></li><li><p><span>--group_filter </span><string></p><p><span>LDAP filter for group sync. 用于组同步的 LDAP 过滤器。</span></p></li><li><p><span>--group_name_attr </span><string></p><p><span>LDAP attribute representing a groups name. If not set or found, the first value of the DN will be used as name. 表示组名称的 LDAP 属性。如果未设置或找到，则 DN 的第一个值将用作名称。</span></p></li><li><p><span>--issuer-url </span><string></p><p><span>OpenID Issuer Url OpenID 颁发者 URL</span></p></li><li><p><span>--mode &lt;ldap | ldap+starttls | ldaps&gt; (</span><em><span>default =</span></em><span> ldap) --mode &lt;ldap | ldap+starttls | ldaps&gt;（</span><em><span>默认值 =</span></em><span> ldap）</span></p><p><span>LDAP protocol mode. LDAP协议模式。</span></p></li><li><p><span>--password </span><string><span> --密码 </span><string></p><p><span>LDAP bind password. Will be stored in </span><em><span>/etc/pve/priv/realm/</span><REALM><span>.pw</span></em><span>. LDAP 绑定密码。将存储在 </span><em><span>/etc/pve/priv/realm/</span><REALM><span>.pw</span></em><span> 中。</span></p></li><li><p><span>--port </span><integer><span> (1 - 65535) --端口 </span><integer><span> （1 - 65535）</span></p><p><span>Server port. 服务器端口。</span></p></li><li><p><span>--prompt (?:none|login|consent|select_account|\S+) --prompt （？：none|login|consent|select_account|\S+）</span></p><p><span>Specifies whether the Authorization Server prompts the End-User for reauthentication and consent. 指定授权服务器是否提示最终用户重新进行身份验证并征得同意。</span></p></li><li><p><span>--scopes </span><string><span> (</span><em><span>default =</span></em><span> email profile) --scopes </span><string><span>（</span><em><span>默认值 =</span></em><span> 电子邮件配置文件）</span></p><p><span>Specifies the scopes (user details) that should be authorized and returned, for example </span><em><span>email</span></em><span> or </span><em><span>profile</span></em><span>. 指定应授权和返回的范围（用户详细信息），例如</span><em><span>电子邮件</span></em><span>或</span><em><span>配置文件</span></em><span>。</span></p></li><li><p><span>--secure </span><boolean></p><p><span>Use secure LDAPS protocol. DEPRECATED: use </span><em><span>mode</span></em><span> instead. 使用安全的 LDAPS 协议。已弃用：改用</span><em><span>模式</span></em><span>。</span></p></li><li><p><span>--server1 </span><string></p><p><span>Server IP address (or DNS name) 服务器 IP 地址（或 DNS 名称）</span></p></li><li><p><span>--server2 </span><string></p><p><span>Fallback Server IP address (or DNS name) 回退服务器 IP 地址（或 DNS 名称）</span></p></li><li><p><span>--sslversion &lt;tlsv1 | tlsv1_1 | tlsv1_2 | tlsv1_3&gt;</span></p><p><span>LDAPS TLS/SSL version. It’s not recommended to use version older than 1.2! LDAPS TLS/SSL版本。不建议使用早于 1.2 的版本！</span></p></li><li><p><span>--sync-defaults-options [enable-new=&lt;1|0&gt;] [,full=&lt;1|0&gt;] [,purge=&lt;1|0&gt;] [,remove-vanished=([acl];[properties];[entry])|none] [,scope=&lt;users|groups|both&gt;] --sync-defaults-options [enable-new=&lt;1|0&gt;] [，full=&lt;1|0&gt;] [，purge=&lt;1|0&gt;] [，remove-vanished=（[acl];[性质];[条目]）|none] [，scope=&lt;users|groups|both&gt;]</span></p><p><span>The default options for behavior of synchronizations. 同步行为的默认选项。</span></p></li><li><p><span>--sync_attributes \w+=</span><span>[^,]</span><span>+(,\s</span><em><span>\w+=</span><span>[^,]</span><span>+)</span></em><span> --sync_attributes \w+=</span><span>[^，]</span><span>+（，\s</span><em><span>\w+=</span><span>[^，]</span><span>+）</span></em></p><p><span>Comma separated list of key=value pairs for specifying which LDAP attributes map to which PVE user field. For example, to map the LDAP attribute </span><em><span>mail</span></em><span> to PVEs </span><em><span>email</span></em><span>, write </span><em><span>email=mail</span></em><span>. By default, each PVE user field is represented by an LDAP attribute of the same name. 以逗号分隔的键=值对列表，用于指定哪些LDAP属性映射到哪个PVE用户字段。例如，要将 LDAP 属性 </span><em><span>mail</span></em><span> 映射到 PVE </span><em><span>电子邮件</span></em><span>，请编写 </span><em><span>email=mail</span></em><span>。默认情况下，每个 PVE 用户字段都由同名的 LDAP 属性表示。</span></p></li><li><p><span>--tfa type=</span><TFATYPE><span> [,digits=</span><COUNT><span>] [,id=</span><ID><span>] [,key=</span><KEY><span>] [,step=</span><SECONDS><span>] [,url=</span><URL><span>] --tfa type=</span><TFATYPE><span> [，digits=</span><COUNT><span>] [，id=</span><ID><span>] [，key=</span><KEY><span>] [，step=</span><SECONDS><span>] [，url=</span><URL><span>]</span></p><p><span>Use Two-factor authentication. 使用双因素身份验证。</span></p></li><li><p><span>--user_attr \S{2,} --user_attr \S{2，}</span></p><p><span>LDAP user attribute name LDAP 用户属性名称</span></p></li><li><p><span>--user_classes </span><string><span> (</span><em><span>default =</span></em><span> inetorgperson, posixaccount, person, user) --user_classes </span><string><span>（</span><em><span>默认值 =</span></em><span> inetorgperson、posixaccount、person、user）</span></p><p><span>The objectclasses for users. 用户的对象类。</span></p></li><li><p><span>--verify </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verify </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Verify the server’s SSL certificate 验证服务器的 SSL 证书</span></p></li></ul><p><strong><span>pveum realm sync</span></strong><span> </span><realm><span> [OPTIONS]</span>
<strong><span>pveum realm sync</span></strong><span> </span><realm><span> [选项]</span></p><p><span>Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name </span><em><span>name-$realm</span></em><span>, so make sure those groups do not exist to prevent overwriting.</span>
<span>将用户和/或组从配置的 LDAP 同步到 user.cfg。注意：同步的组的名称为 </span><em><span>name-$realm</span></em><span>，因此请确保这些组不存在，以防止覆盖。</span></p><ul><li><p><realm><span>: </span><string><span> </span><realm><span>： </span><string></p><p><span>Authentication domain ID 身份验证域 ID</span></p></li><li><p><span>--dry-run </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --dry-run </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>If set, does not write anything. 如果设置，则不写入任何内容。</span></p></li><li><p><span>--enable-new </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --enable-new </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable newly synced users immediately. 立即启用新同步的用户。</span></p></li><li><p><span>--full </span><boolean></p><p><span>DEPRECATED: use </span><em><span>remove-vanished</span></em><span> instead. If set, uses the LDAP Directory as source of truth, deleting users or groups not returned from the sync and removing all locally modified properties of synced users. If not set, only syncs information which is present in the synced data, and does not delete or modify anything else. DEPRECATED：请改用 </span><em><span>remove-vanished</span></em><span>。如果已设置，则使用 LDAP 目录作为事实来源，删除未从同步中返回的用户或组，并删除已同步用户的所有本地修改属性。如果未设置，则仅同步同步数据中存在的信息，而不删除或修改任何其他内容。</span></p></li><li><p><span>--purge </span><boolean><span> --清除 </span><boolean></p><p><span>DEPRECATED: use </span><em><span>remove-vanished</span></em><span> instead. Remove ACLs for users or groups which were removed from the config during a sync. DEPRECATED：请改用 </span><em><span>remove-vanished</span></em><span>。删除在同步期间从配置中删除的用户或组的 ACL。</span></p></li><li><p><span>--remove-vanished ([acl];[properties];[entry])|none (</span><em><span>default =</span></em><span> none) --remove-消失 （[acl];[性质];[条目]）|None（</span><em><span>默认值 =</span></em><span> None）</span></p><p><span>A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: </span><em><span>entry</span></em><span> removes the user/group when not returned from the sync. </span><em><span>properties</span></em><span> removes the set properties on existing user/group that do not appear in the source (even custom ones). </span><em><span>acl</span></em><span> removes acls when the user/group is not returned from the sync. Instead of a list it also can be </span><em><span>none</span></em><span> (the default). 以分号分隔的事物列表，当它们或用户在同步过程中消失时要删除的内容。以下值是可能的： </span><em><span>entry</span></em><span> 在未从同步返回时删除用户/组。</span><em><span>Properties</span></em><span> 删除现有用户/组上未显示在源中的已设置属性（甚至是自定义属性）。</span><em><span>ACL</span></em><span> 在未从同步中返回用户/组时删除 ACL。它也可以是 </span><em><span>none</span></em><span>（默认值），而不是列表。</span></p></li><li><p><span>--scope &lt;both | groups | users&gt; --scope &lt;both | 组 | users&gt;</span></p><p><span>Select what to sync. 选择要同步的内容。</span></p></li></ul><p><strong><span>pveum role add</span></strong><span> </span><roleid><span> [OPTIONS]</span>
<strong><span>pveum role add</span></strong><span> </span><roleid><span> [选项]</span></p><p><span>Create new role. 创建新角色。</span></p><ul><li><p><roleid><span>: </span><string><span> </span><roleid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--privs </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum role delete</span></strong><span> </span><roleid></p><p><span>Delete role. 删除角色。</span></p><ul><li><p><roleid><span>: </span><string><span> </span><roleid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum role list</span></strong><span> [FORMAT_OPTIONS]</span>
<strong><span>PVeum 角色列表</span></strong><span> [FORMAT_OPTIONS]</span></p><p><span>Role index. 角色索引。</span></p><p><strong><span>pveum role modify</span></strong><span> </span><roleid><span> [OPTIONS]</span>
<strong><span>pveum role modify</span></strong><span> </span><roleid><span> [选项]</span></p><p><span>Update an existing role. 更新现有角色。</span></p><ul><li><p><roleid><span>: </span><string><span> </span><roleid><span>： </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--append </span><boolean></p><p><span>no description available 没有可用的描述</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+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FO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): privs 需要选项： privs</span></p></li><li><p><span>--privs </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum roleadd</span></strong></p><p><span>An alias for </span><em><span>pveum role add</span></em><span>.</span>
<em><span>pveum role add</span></em><span> 的别名。</span></p><p><strong><span>pveum roledel</span></strong></p><p><span>An alias for </span><em><span>pveum role delete</span></em><span>.</span>
<em><span>pveum 角色删除</span></em><span>的别名。</span></p><p><strong><span>pveum rolemod</span></strong></p><p><span>An alias for </span><em><span>pveum role modify</span></em><span>.</span>
<em><span>pveum role modify</span></em><span> 的别名。</span></p><p><strong><span>pveum ticket</span></strong><span> </span><username><span> [OPTIONS]</span>
<strong><span>pveum 票证</span></strong><span> &lt;用户名&gt; [选项]</span></p><p><span>Create or verify authentication ticket.</span>
<span>创建或验证身份验证票证。</span></p><ul><li><p><username><span>: </span><string><span> &lt;用户名&gt;： </span><string></p><p><span>User name 用户名</span></p></li><li><p><span>--new-format </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --new-format </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>This parameter is now ignored and assumed to be 1. 此参数现在被忽略并假定为 1。</span></p></li><li><p><span>--otp </span><string></p><p><span>One-time password for Two-factor authentication. 用于双重身份验证的一次性密码。</span></p></li><li><p><span>--path </span><string></p><p><span>Verify ticket, and check if user have access </span><em><span>privs</span></em><span> on </span><em><span>path</span></em><span> 验证票证，并检查</span><em><span>用户在**路径</span></em><span>上是否具有访问权限</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMj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pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): privs 需要选项： privs</span></p></li><li><p><span>--privs </span><string></p><p><span>Verify ticket, and check if user have access </span><em><span>privs</span></em><span> on </span><em><span>path</span></em><span> 验证票证，并检查</span><em><span>用户在**路径</span></em><span>上是否具有访问权限</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vI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0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): path 需要选项： path</span></p></li><li><p><span>--realm </span><string></p><p><span>You can optionally pass the realm using this parameter. Normally the realm is simply added to the username </span><username><span>@</span><relam><span>. 您可以选择使用此参数传递领域。通常，该领域只是添加到用户名 @ 中。</span></p></li><li><p><span>--tfa-challenge </span><string></p><p><span>The signed TFA challenge string the user wants to respond to. 用户想要响应的已签名 TFA 质询字符串。</span></p></li></ul><p><strong><span>pveum user add</span></strong><span> </span><userid><span> [OPTIONS]</span>
<strong><span>pveum 用户添加</span></strong><span> </span><userid><span> [选项]</span></p><p><span>Create new user. 创建新用户。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--email </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--enable </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --enable </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable the account (default). You can set this to </span><em><span>0</span></em><span> to disable the account 启用帐户（默认）。您可以将此设置为 </span><em><span>0</span></em><span> 以禁用该帐户</span></p></li><li><p><span>--expire </span><integer><span> (0 - N) --expire </span><integer><span> （0 - N）</span></p><p><span>Account expiration date (seconds since epoch). </span><em><span>0</span></em><span> means no expiration date. 帐户到期日期（自纪元以来的秒数）。</span><em><span>0</span></em><span> 表示没有到期日期。</span></p></li><li><p><span>--firstname </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--groups </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--keys [0-9a-zA-Z!=]{0,4096} --键 [0-9a-zA-Z！=]{0,4096}</span></p><p><span>Keys for two factor auth (yubico). 双因素身份验证 （yubico） 的密钥。</span></p></li><li><p><span>--lastname </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--password </span><string><span> --密码 </span><string></p><p><span>Initial password. 初始密码。</span></p></li></ul><p><strong><span>pveum user delete</span></strong><span> </span><userid>
<strong><span>pveum 用户删除</span></strong><span> </span><userid></p><p><span>Delete user. 删除用户。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li></ul><p><strong><span>pveum user list</span></strong><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum用户列表</span></strong><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>User index. 用户索引。</span></p><ul><li><p><span>--enabled </span><boolean><span> --启用 </span><boolean></p><p><span>Optional filter for enable property. enable 属性的可选过滤器。</span></p></li><li><p><span>--full </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --full </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Include group and token information. 包括组和令牌信息。</span></p></li></ul><p><strong><span>pveum user modify</span></strong><span> </span><userid><span> [OPTIONS]</span>
<strong><span>pveum 用户修改</span></strong><span> </span><userid><span> [选项]</span></p><p><span>Update user configuration.</span>
<span>更新用户配置。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><span>--append </span><boolean></p><p><span>no description available 没有可用的描述</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVO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6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): groups 需要选项： groups</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--email </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--enable </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --enable </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Enable the account (default). You can set this to </span><em><span>0</span></em><span> to disable the account 启用帐户（默认）。您可以将此设置为 </span><em><span>0</span></em><span> 以禁用该帐户</span></p></li><li><p><span>--expire </span><integer><span> (0 - N) --expire </span><integer><span> （0 - N）</span></p><p><span>Account expiration date (seconds since epoch). </span><em><span>0</span></em><span> means no expiration date. 帐户到期日期（自纪元以来的秒数）。</span><em><span>0</span></em><span> 表示没有到期日期。</span></p></li><li><p><span>--firstname </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--groups </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--keys [0-9a-zA-Z!=]{0,4096} --键 [0-9a-zA-Z！=]{0,4096}</span></p><p><span>Keys for two factor auth (yubico). 双因素身份验证 （yubico） 的密钥。</span></p></li><li><p><span>--lastname </span><string></p><p><span>no description available 没有可用的描述</span></p></li></ul><p><strong><span>pveum user permissions</span></strong><span> [</span><userid><span>] [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户权限</span></strong><span> [</span><userid><span>] [选项] [FORMAT_OPTIONS]</span></p><p><span>Retrieve effective permissions of given user/token.</span>
<span>检索给定用户/令牌的有效权限。</span></p><ul><li><p><userid><span>: (?^:^(?^:</span><span>[^\s:/]</span><span>+)\@(?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+)(?:!(?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+))?$) </span><userid><span>： （？^：^（？^：</span><span>[^\s：/]</span><span>+）\@（？^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+）（？：！（？ ^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+））？$）</span></p><p><span>User ID or full API token ID 用户 ID 或完整的 API 令牌 ID</span></p></li><li><p><span>--path </span><string></p><p><span>Only dump this specific path, not the whole tree. 只转储这个特定的路径，而不是整个树。</span></p></li></ul><p><strong><span>pveum user tfa delete</span></strong><span> </span><userid><span> [OPTIONS]</span>
<strong><span>pveum 用户 tfa delete</span></strong><span> </span><userid><span> [选项]</span></p><p><span>Delete TFA entries from a user.</span>
<span>删除用户的 TFA 条目。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><span>--id </span><string></p><p><span>The TFA ID, if none provided, all TFA entries will be deleted. 如果未提供 TFA ID，则将删除所有 TFA 条目。</span></p></li></ul><p><strong><span>pveum user tfa list</span></strong><span> [</span><userid><span>]</span>
<strong><span>pveum 用户 tfa 列表</span></strong><span> [</span><userid><span>]</span></p><p><span>List TFA entries. 列出 TFA 条目。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li></ul><p><strong><span>pveum user tfa unlock</span></strong><span> </span><userid>
<strong><span>pveum 用户 tfa 解锁</span></strong><span> </span><userid></p><p><span>Unlock a user’s TFA authentication.</span>
<span>解锁用户的 TFA 身份验证。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li></ul><p><strong><span>pveum user token add</span></strong><span> </span><userid><span> </span><tokenid><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户令牌添加</span></strong><span> </span><userid><span> </span><tokenid><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards!</span>
<span>为特定用户生成新的 API 令牌。注意：返回 API 令牌值，该值需要存储，因为之后无法检索！</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><tokenid><span>: (?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+) </span><tokenid><span>： （？^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+）</span></p><p><span>User-specific token identifier. 特定于用户的令牌标识符。</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--expire </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> same as user) --expire </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 与用户相同）</span></p><p><span>API token expiration date (seconds since epoch). </span><em><span>0</span></em><span> means no expiration date. API 令牌到期日期（自纪元以来的秒数）。</span><em><span>0</span></em><span> 表示没有到期日期。</span></p></li><li><p><span>--privsep </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --privsep </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user. 使用单独的 ACL 限制 API 令牌权限（默认），或授予相应用户的全部权限。</span></p></li></ul><p><strong><span>pveum user token delete</span></strong><span> </span><userid><span> </span><tokenid><span> [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户令牌删除</span></strong><span> </span><userid><span> </span><tokenid><span> [FORMAT_OPTIONS]</span></p><p><span>Remove API token for a specific user.</span>
<span>删除特定用户的 API 令牌。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><tokenid><span>: (?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+) </span><tokenid><span>： （？^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+）</span></p><p><span>User-specific token identifier. 特定于用户的令牌标识符。</span></p></li></ul><p><strong><span>pveum user token list</span></strong><span> </span><userid><span> [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户令牌列表</span></strong><span> </span><userid><span> [FORMAT_OPTIONS]</span></p><p><span>Get user API tokens. 获取用户 API 令牌。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li></ul><p><strong><span>pveum user token modify</span></strong><span> </span><userid><span> </span><tokenid><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户令牌修改</span></strong><span> </span><userid><span> </span><tokenid><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Update API token for a specific user.</span>
<span>更新特定用户的 API 令牌。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><tokenid><span>: (?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+) </span><tokenid><span>： （？^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+）</span></p><p><span>User-specific token identifier. 特定于用户的令牌标识符。</span></p></li><li><p><span>--comment </span><string></p><p><span>no description available 没有可用的描述</span></p></li><li><p><span>--expire </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> same as user) --expire </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 与用户相同）</span></p><p><span>API token expiration date (seconds since epoch). </span><em><span>0</span></em><span> means no expiration date. API 令牌到期日期（自纪元以来的秒数）。</span><em><span>0</span></em><span> 表示没有到期日期。</span></p></li><li><p><span>--privsep </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --privsep </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user. 使用单独的 ACL 限制 API 令牌权限（默认），或授予相应用户的全部权限。</span></p></li></ul><p><strong><span>pveum user token permissions</span></strong><span> </span><userid><span> </span><tokenid><span> [OPTIONS] [FORMAT_OPTIONS]</span>
<strong><span>pveum 用户令牌权限</span></strong><span> </span><userid><span> </span><tokenid><span> [选项] [FORMAT_OPTIONS]</span></p><p><span>Retrieve effective permissions of given token.</span>
<span>检索给定令牌的有效权限。</span></p><ul><li><p><userid><span>: </span><string><span> </span><userid><span>： </span><string></p><p><span>Full User ID, in the name@realm format. 完整的用户 ID，采用 name@realm 格式。</span></p></li><li><p><tokenid><span>: (?^:</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+) </span><tokenid><span>： （？^：</span>[<span>A-Za-z</span>][A-Za-z0-9\.\-_]<span>+）</span></p><p><span>User-specific token identifier. 特定于用户的令牌标识符。</span></p></li><li><p><span>--path </span><string></p><p><span>Only dump this specific path, not the whole tree. 只转储这个特定的路径，而不是整个树。</span></p></li></ul><p><strong><span>pveum user token remove PVuum 用户令牌删除</span></strong></p><p><span>An alias for </span><em><span>pveum user token delete</span></em><span>.</span>
<em><span>pveum 用户令牌删除</span></em><span>的别名。</span></p><p><strong><span>pveum useradd PVuum 用户添加</span></strong></p><p><span>An alias for </span><em><span>pveum user add</span></em><span>.</span>
<em><span>pveum 用户添加</span></em><span>的别名。</span></p><p><strong><span>pveum userdel PVuum Userdel</span></strong></p><p><span>An alias for </span><em><span>pveum user delete</span></em><span>.</span>
<em><span>pveum 用户删除</span></em><span>的别名。</span></p><p><strong><span>pveum usermod PVuum 用户模组</span></strong></p><p><span>An alias for </span><em><span>pveum user modify</span></em><span>.</span>
<em><span>pveum 用户修改</span></em><span>的别名。</span></p><h3 id='2215-vzdump---backup-utility-for-vms-and-containers-2215-vzdump---vm和容器的备份实用程序'><span>22.15. </span><strong><span>vzdump</span></strong><span> - Backup Utility for VMs and Containers 22.15. </span><strong><span>vzdump</span></strong><span> - VM和容器的备份实用程序 </span></h3><p><strong><span>vzdump</span></strong><span> help</span>
<strong><span>vzdump</span></strong><span> 帮助</span></p><p><strong><span>vzdump</span></strong><span> {</span><vmid><span>} [OPTIONS]</span>
<strong><span>vzdump</span></strong><span> {</span><vmid><span>} [选项]</span></p><p><span>Create backup. 创建备份。</span></p><ul><li><p><vmid><span>: </span><string><span> </span><vmid><span>： </span><string></p><p><span>The ID of the guest system you want to backup. 要备份的客户机系统的 ID。</span></p></li><li><p><span>--all </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --all </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Backup all known guest systems on this host. 备份此主机上的所有已知客户机系统。</span></p></li><li><p><span>--bwlimit </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 0) --bwlimit </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Limit I/O bandwidth (in KiB/s). 限制 I/O 带宽（以 KiB/s 为单位）。</span></p></li><li><p><span>--compress &lt;0 | 1 | gzip | lzo | zstd&gt; (</span><em><span>default =</span></em><span> 0) --compress &lt;0 | 1 | gzip | lzo | zstd&gt;（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Compress dump file. 压缩转储文件。</span></p></li><li><p><span>--dumpdir </span><string></p><p><span>Store resulting files to specified directory. 将生成的文件存储到指定目录。</span></p></li><li><p><span>--exclude </span><string></p><p><span>Exclude specified guest systems (assumes --all) 排除指定的客户机系统（假设 --all）</span></p></li><li><p><span>--exclude-path </span><array></p><p><span>Exclude certain files/directories (shell globs). Paths starting with </span><em><span>/</span></em><span> are anchored to the container’s root, other paths match relative to each subdirectory. 排除某些文件/目录（shell globs）。以 </span><em><span>/</span></em><span> 开头的路径锚定到容器的根目录，其他路径相对于每个子目录匹配。</span></p></li><li><p><span>--fleecing [[enabled=]&lt;1|0&gt;] [,storage=</span><storage ID><span>] --fleecing [[enabled=]&lt;1|0&gt;] [，storage=</span><storage ID><span>]</span></p><p><span>Options for backup fleecing (VM only). 备份选项（仅限 VM）。</span></p></li><li><p><span>--ionice </span><integer><span> (0 - 8) (</span><em><span>default =</span></em><span> 7) --ionice </span><integer><span> （0 - 8） （</span><em><span>默认值 =</span></em><span> 7）</span></p><p><span>Set IO priority when using the BFQ scheduler. For snapshot and suspend mode backups of VMs, this only affects the compressor. A value of 8 means the idle priority is used, otherwise the best-effort priority is used with the specified value. 使用 BFQ 调度器时设置 IO 优先级。对于 VM 的快照和挂起模式备份，这只会影响压缩器。值 8 表示使用空闲优先级，否则将使用最大努力优先级和指定值。</span></p></li><li><p><span>--job-id </span><string></p><p><span>The ID of the backup job. If set, the </span><em><span>backup-job</span></em><span> metadata field of the backup notification will be set to this value. Only </span><a href='mailto:root@pam'><span>root@pam</span></a><span> can set this parameter. 备份作业的 ID。如果设置，则备份通知的</span><em><span>备份作业</span></em><span>元数据字段将设置为此值。只有</span><a href='mailto:root@pam'><span>root@pam</span></a><span>可以设置此参数。</span></p></li><li><p><span>--lockwait </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 180) --lockwait </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 180）</span></p><p><span>Maximal time to wait for the global lock (minutes). 等待全局锁定的最长时间（分钟）。</span></p></li><li><p><span>--mailnotification &lt;always | failure&gt; (</span><em><span>default =</span></em><span> always) --mailnotification &lt;always | failure&gt;（</span><em><span>默认值 =</span></em><span> 始终）</span></p><p><span>Deprecated: use notification targets/matchers instead. Specify when to send a notification mail 已弃用：请改用通知目标/匹配器。指定何时发送通知邮件</span></p></li><li><p><span>--mailto </span><string></p><p><span>Deprecated: Use notification targets/matchers instead. Comma-separated list of email addresses or users that should receive email notifications. 已弃用：请改用通知目标/匹配器。应接收电子邮件通知的电子邮件地址或用户的逗号分隔列表。</span></p></li><li><p><span>--maxfiles </span><integer><span> (1 - N) --maxfiles </span><integer><span> （1 - N）</span></p><p><span>Deprecated: use </span><em><span>prune-backups</span></em><span> instead. Maximal number of backup files per guest system. 已弃用：请改用 </span><em><span>prune-backups</span></em><span>。每个客户机系统的最大备份文件数。</span></p></li><li><p><span>--mode &lt;snapshot | stop | suspend&gt; (</span><em><span>default =</span></em><span> snapshot) --mode &lt;snapshot | stop | suspend&gt;（</span><em><span>默认值 =</span></em><span> 快照）</span></p><p><span>Backup mode. 备份模式。</span></p></li><li><p><span>--node </span><string></p><p><span>Only run if executed on this node. 仅在此节点上执行时才运行。</span></p></li><li><p><span>--notes-template </span><string></p><p><span>Template string for generating notes for the backup(s). It can contain variables which will be replaced by their values. Currently supported are {</span><span>{</span><span>\cluster}}, {</span><span>{</span><span>\guestname}}, {</span><span>{</span><span>\node}}, and {</span><span>{</span><span>\vmid}}, but more might be added in the future. Needs to be a single line, newline and backslash need to be escaped as </span><em><span>\n</span></em><span> and </span><em><span>\</span></em><span> respectively. 用于生成备份注释的模板字符串。它可以包含变量，这些变量将被其值替换。目前支持的是 {</span><span>{</span><span>\cluster}}、{</span><span>{</span><span>\guestname}}、{</span><span>{</span><span>\node}} 和 {</span><span>{</span><span>\vmid}}，但将来可能会添加更多。需要是单行，换行符和反斜杠需要分别转义为 </span><em><span>\n</span></em><span> 和 </span><em><span>\</span></em><span>。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+%0APl5h1Yc+xpYtW2SBbX1ReUkRGBkZsdH77mHLW95EOv4Ms3ueJh6YYPHUFF9aljJ63z3cf//9/5FI%0AvKQIDA8P293L2yhVjjH7t51ocDiviFecF46n7XzBreChhx4qNhH5t0XjJUVgx44ddGUZ9b/vIpQD%0AoRQIWSDJAiFL6B9axo4dO4gxAmANWVDLG+Ln82URMRGhVCqRHxonlAPqFXWKC4r6IhI6OMjMzBN4%0A/4LlTUQQEZxzZ32QJAlpmrb+p16vU6vVOHXq1AWjN18AnDj0F971vrs4OnmYJVkoDA4FCPUO172I%0ACgnt7SV++4vvsGhRJx3tJbIsRVVpsUnOBBABBVFEClKYwbKr7sTM7EIUnBcA7z21k7t49x1X8JXv%0AbOWra7rw5QRtcN8PLCfvvZJvb9vJycpJpg4/hp/N0I4SMQs4Jw0A5zBXHGiCaIZIKABgpGlKjPEF%0A0TpT5pUDRXiVt99+Le03r+WzuytM1gO6pB/3+o0cbxvk8yOPMjW6i2iR2lxOjJDHSDMFogmG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DA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): storage 需要选项： storage</span></p></li><li><p><span>--notification-mode &lt;auto | legacy-sendmail | notification-system&gt; (</span><em><span>default =</span></em><span> auto) --notification-mode &lt;auto | legacy-sendmail | notification-system&gt;（</span><em><span>默认值 =</span></em><span> 自动）</span></p><p><span>Determine which notification system to use. If set to </span><em><span>legacy-sendmail</span></em><span>, vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the </span><em><span>sendmail</span></em><span> command. If set to </span><em><span>notification-system</span></em><span>, a notification will be sent via PVE’s notification system, and the mailto and mailnotification will be ignored. If set to </span><em><span>auto</span></em><span> (default setting), an email will be sent if mailto is set, and the notification system will be used if not. 确定要使用的通知系统。如果设置为 </span><em><span>legacy-sendmail，vzdump</span></em><span> 将考虑 mailto/mailnotification 参数，并通过 </span><em><span>sendmail</span></em><span> 命令将邮件发送到指定地址。如果设置为 </span><em><span>notification-system</span></em><span>，将通过 PVE 的通知系统发送通知，并且 mailto 和 mailnotification 将被忽略。如果设置为</span><em><span>自动</span></em><span>（默认设置），则在设置了 mailto 时发送电子邮件，如果未设置，则使用通知系统。</span></p></li><li><p><span>--notification-policy &lt;always | failure | never&gt; (</span><em><span>default =</span></em><span> always) --notification-policy &lt;始终 | 失败 | never&gt;（</span><em><span>默认值 =</span></em><span> 始终）</span></p><p><span>Deprecated: Do not use 已弃用：请勿使用</span></p></li><li><p><span>--notification-target </span><string></p><p><span>Deprecated: Do not use 已弃用：请勿使用</span></p></li><li><p><span>--pbs-change-detection-mode &lt;data | legacy | metadata&gt;</span></p><p><span>PBS mode used to detect file changes and switch encoding. NOTE: data and metadata modes are experimental. format for container backups. PBS 模式，用于检测文件更改和切换编码。注意：数据和元数据模式是实验性的。容器备份的格式。</span></p></li><li><p><span>--performance [max-workers=</span><integer><span>] [,pbs-entries-max=</span><integer><span>] --performance [max-workers=</span><integer><span>] [，pbs-entries-max=</span><integer><span>]</span></p><p><span>Other performance-related settings. 其他与性能相关的设置。</span></p></li><li><p><span>--pigz </span><integer><span> (</span><em><span>default =</span></em><span> 0) --pigz </span><integer><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Use pigz instead of gzip when N&gt;0. N=1 uses half of cores, N&gt;1 uses N as thread count. 当 N&gt;0 时，使用 pigz 而不是 gzip。N=1 使用一半的内核，N&gt;1 使用 N 作为线程数。</span></p></li><li><p><span>--pool </span><string></p><p><span>Backup all known guest systems included in the specified pool. 备份指定池中包含的所有已知客户机系统。</span></p></li><li><p><span>--protected </span><boolean></p><p><span>If true, mark backup(s) as protected. 如果为 true，则将备份标记为受保护。</span><img src="data:image/png;base64,%0AiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAJhUlEQVRoge2ZWWycVxXHf+fce7/v%0Am/GaGCde4pI0aQlJC0kRtE1L00JbLIjY4QkeUB9YHhAIJFCExAsKUkE8IAFFPIDUIqhBRSDRBUqC%0ACimFFBCBpCWx02IaZ3G2SdyxPZ7vHh6+mcnSZnFjKIge6Wj8zYzvPf9z/me5d8TM+F8WfbkNuFx5%0ABcDLLf/fAEZGRmx4eNh6enqsp6fHhoeHbWRk5D9aFeSlVqHNmzfb6H33sHnT7ZQmD5GfOMax6Sm+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3R8i0Wz9EiuUGz+qlKEQEUaJbI%0A4lTHmTVePKgWzpDGJGpc8CDTlEsuo88++wxXDA0UIUbAOP23KGZKjI48KnkuhcbiPbPCOBoeBikO%0ALk2VxjqNRilaAEqSZGEAbN261bZt+zW33XY7IAXXm6Ou0YhIMamaaUOl5WRrzg00viuKWWxpQUOH%0ANAZFQRpD48Xlkig0MTHBB95zG+VSylz1KCbWyDOh2XyK+56IqjWMKigkUnzWnPPFFFRRLZ29SQRU%0AELOGY4pZ6LKOlM07mZ07d/KOtw1TcB4sGkTDiDQ9K1IkrKeYmQC08d7pZLSiRBpE5s7aS0XAHFEK%0AAGY51Wr18g80Zmb33nsvX/z8XdSmj2AWOXhwkrxe46+79jB55Dh/3T2GxUhHextdXW2sXN7PNWtW%0AIQKDA71FFBoAjIgQkVg/a5+oHrU5zIznDhxk964xKpXKggAoTlWW8+OfPorlOQ//cjsDy1bS2dFO%0AW+diVly1iL6+Pqanpzl5qsL4pPHwN3/G1InDlMsZ7Z1tDA30cfWqIa5dexV9fb2YnT7UTxw4xsHJ%0Ao4yOjfOP8QOMjx/k4OQx7r777lY0zycXvJ02M4sxMjg4SL1eR0TYsGEDw8PD9PX10d7ejogUN3a1%0AGqpKCIE8z5mdnUVVqVarbN++nba2Nvbu3csDDzyAqrJ8+atb+zjn6e/vZ/Xq1axatYq1a9fS29tL%0AlmUMDQ1RKpXOm9EXvV6v1+tWr9eZnp5mZmaGWq1GjLHF62aiNZ+bnPfe45xrvTZzxMyYmZk56+LX%0AzKjX661DvHOOJElIkoRSqYT3/vLvRlW15eHCa4VxzdvmpjZDfubzuXeb3vuzqCEixBhbo0NTkyS5%0APAr9L8j/96+U/w3yCoCXW14B8HLLvwDd67nwZIEPdgAAAABJRU5ErkJggg==" referrerpolicy="no-referrer" alt="Note"><span>Requires option(s): storage 需要选项： storage</span></p></li><li><p><span>--prune-backups [keep-all=&lt;1|0&gt;] [,keep-daily=</span><N><span>] [,keep-hourly=</span><N><span>] [,keep-last=</span><N><span>] [,keep-monthly=</span><N><span>] [,keep-weekly=</span><N><span>] [,keep-yearly=</span><N><span>] (</span><em><span>default =</span></em><span> keep-all=1) --prune-backups [keep-all=&lt;1|0&gt;] [，keep-daily=</span><N><span>] [，keep-hourly=</span><N><span>] [，keep-last=</span><N><span>] [，keep-monthly=</span><N><span>] [，keep-weekly=</span><N><span>] [，keep-yearly=</span><N><span>] （</span><em><span>默认值 =</span></em><span> keep-all=1）</span></p><p><span>Use these retention options instead of those from the storage configuration. 使用这些保留选项，而不是存储配置中的保留选项。</span></p></li><li><p><span>--quiet </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --quiet </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Be quiet. 保持安静。</span></p></li><li><p><span>--remove </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --remove </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Prune older backups according to </span><em><span>prune-backups</span></em><span>. 根据 </span><em><span>prune-backups</span></em><span> 修剪较旧的备份。</span></p></li><li><p><span>--script </span><string></p><p><span>Use specified hook script. 使用指定的钩子脚本。</span></p></li><li><p><span>--stdexcludes </span><boolean><span> (</span><em><span>default =</span></em><span> 1) --stdexcludes </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Exclude temporary files and logs. 排除临时文件和日志。</span></p></li><li><p><span>--stdout </span><boolean></p><p><span>Write tar to stdout, not to a file. 将 tar 写入 stdout，而不是写入文件。</span></p></li><li><p><span>--stop </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --stop </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Stop running backup jobs on this host. 停止在此主机上运行备份作业。</span></p></li><li><p><span>--stopwait </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 10) --stopwait </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 10）</span></p><p><span>Maximal time to wait until a guest system is stopped (minutes). 客户机系统停止后等待的最长时间（分钟）。</span></p></li><li><p><span>--storage </span><storage ID><span> --storage &lt;存储 ID&gt;</span></p><p><span>Store resulting file to this storage. 将生成的文件存储到此存储中。</span></p></li><li><p><span>--tmpdir </span><string></p><p><span>Store temporary files to specified directory. 将临时文件存储到指定目录。</span></p></li><li><p><span>--zstd </span><integer><span> (</span><em><span>default =</span></em><span> 1) --zstd </span><integer><span>（</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Zstd threads. N=0 uses half of the available cores, if N is set to a value bigger than 0, N is used as thread count. Zstd 线程。N=0 使用一半的可用内核，如果将 N 设置为大于 0 的值，则使用 N 作为线程数。</span></p></li></ul><h3 id='2216-ha-manager---proxmox-ve-ha-manager-2216-ha-manager---proxmox-ve-ha-管理器'><span>22.16. </span><strong><span>ha-manager</span></strong><span> - Proxmox VE HA Manager 22.16. </span><strong><span>ha-manager</span></strong><span> - Proxmox VE HA 管理器 </span></h3><p><strong><span>ha-manager</span></strong><span> </span><COMMAND><span> [ARGS] [OPTIONS]</span>
<strong><span>HA-MANAGER</span></strong><span> </span><COMMAND><span> [参数] [选项]</span></p><p><strong><span>ha-manager add</span></strong><span> </span><sid><span> [OPTIONS]</span>
<strong><span>ha-manager 添加</span></strong><span> </span><sid><span> [选项]</span></p><p><span>Create a new HA resource.</span>
<span>创建新的 HA 资源。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--group </span><string><span> --组 </span><string></p><p><span>The HA group identifier. HA 组标识符。</span></p></li><li><p><span>--max_relocate </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 1) --max_relocate </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Maximal number of service relocate tries when a service failes to start. 服务启动失败时服务重新定位尝试的最大次数。</span></p></li><li><p><span>--max_restart </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 1) --max_restart </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Maximal number of tries to restart the service on a node after its start failed. 在节点启动失败后，尝试在节点上重新启动服务的最大次数。</span></p></li><li><p><span>--state &lt;disabled | enabled | ignored | started | stopped&gt; (</span><em><span>default =</span></em><span> started) --state &lt;disabled | enabled | ignored | started | stopped&gt;（</span><em><span>默认值 =</span></em><span> 已启动）</span></p><p><span>Requested resource state. 请求的资源状态。</span></p></li><li><p><span>--type &lt;ct | vm&gt;</span></p><p><span>Resource type. 资源类型。</span></p></li></ul><p><strong><span>ha-manager config</span></strong><span> [OPTIONS]</span>
<strong><span>ha-manager 配置</span></strong><span> [选项]</span></p><p><span>List HA resources. 列出 HA 资源。</span></p><ul><li><p><span>--type &lt;ct | vm&gt;</span></p><p><span>Only list resources of specific type 仅列出特定类型的资源</span></p></li></ul><p><strong><span>ha-manager crm-command migrate</span></strong><span> </span><sid><span> </span><node>
<strong><span>ha-manager crm-命令迁移</span></strong><span> </span><sid><span> </span><node></p><p><span>Request resource migration (online) to another node.</span>
<span>请求将资源迁移（在线）到另一个节点。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>Target node. 目标节点。</span></p></li></ul><p><strong><span>ha-manager crm-command node-maintenance disable</span></strong><span> </span><node>
<strong><span>ha-manager crm-命令 node-maintenance 禁用</span></strong><span> </span><node></p><p><span>Change the node-maintenance request state.</span>
<span>更改节点维护请求状态。</span></p><ul><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li></ul><p><strong><span>ha-manager crm-command node-maintenance enable</span></strong><span> </span><node>
<strong><span>ha-manager crm-command node-maintenance 启用</span></strong><span> </span><node></p><p><span>Change the node-maintenance request state.</span>
<span>更改节点维护请求状态。</span></p><ul><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>The cluster node name. 群集节点名称。</span></p></li></ul><p><strong><span>ha-manager crm-command relocate</span></strong><span> </span><sid><span> </span><node>
<strong><span>ha-manager crm-command 重新定位</span></strong><span> </span><sid><span> </span><node></p><p><span>Request resource relocatzion to another node. This stops the service on the old node, and restarts it on the target node.</span>
<span>请求将资源重新定位到另一个节点。这将停止旧节点上的服务，并在目标节点上重新启动它。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li><li><p><node><span>: </span><string><span> </span><node><span>： </span><string></p><p><span>Target node. 目标节点。</span></p></li></ul><p><strong><span>ha-manager crm-command stop</span></strong><span> </span><sid><span> </span><timeout>
<strong><span>ha-manager crm 命令停止</span></strong><span> </span><sid><span> </span><timeout></p><p><span>Request the service to be stopped.</span>
<span>请求停止服务。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li><li><p><timeout><span>: </span><integer><span> (0 - N) </span><timeout><span>： </span><integer><span> （0 - N）</span></p><p><span>Timeout in seconds. If set to 0 a hard stop will be performed. 超时（以秒为单位）。如果设置为 0，将执行硬停止。</span></p></li></ul><p><strong><span>ha-manager groupadd</span></strong><span> </span><group><span> --nodes </span><string><span> [OPTIONS]</span>
<strong><span>ha-manager groupadd</span></strong><span> </span><group><span> --nodes </span><string><span> [选项]</span></p><p><span>Create a new HA group.</span>
<span>创建新的 HA 组。</span></p><ul><li><p><group><span>: </span><string><span> </span><group><span>： </span><string></p><p><span>The HA group identifier. HA 组标识符。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--nodes </span><node><span>[:</span><pri><span>]{,</span><node><span>[:</span><pri><span>]}* --nodes </span><node><span>[：</span><pri><span>]{，</span><node><span>[：</span><pri><span>]}*</span></p><p><span>List of cluster node names with optional priority. 具有可选优先级的群集节点名称列表。</span></p></li><li><p><span>--nofailback </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --nofailback </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior. CRM 尝试在具有最高优先级的节点上运行服务。如果具有较高优先级的节点联机，CRM 会将服务迁移到该节点。启用 nofailback 可防止该行为。</span></p></li><li><p><span>--restricted </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --restricted </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Resources bound to restricted groups may only run on nodes defined by the group. 绑定到受限组的资源只能在受限组定义的节点上运行。</span></p></li><li><p><span>--type </span><group><span> --类型 </span><group></p><p><span>Group type. 组类型。</span></p></li></ul><p><strong><span>ha-manager groupconfig HA-Manager 组配置</span></strong></p><p><span>Get HA groups. 获取 HA 组。</span></p><p><strong><span>ha-manager groupremove</span></strong><span> </span><group>
<strong><span>ha-manager 组删除</span></strong><span> &lt;组&gt;</span></p><p><span>Delete ha group configuration.</span>
<span>删除 ha 组配置。</span></p><ul><li><p><group><span>: </span><string><span> </span><group><span>： </span><string></p><p><span>The HA group identifier. HA 组标识符。</span></p></li></ul><p><strong><span>ha-manager groupset</span></strong><span> </span><group><span> [OPTIONS]</span>
<strong><span>ha-manager groupset</span></strong><span> </span><group><span> [选项]</span></p><p><span>Update ha group configuration.</span>
<span>更新 ha 组配置。</span></p><ul><li><p><group><span>: </span><string><span> </span><group><span>： </span><string></p><p><span>The HA group identifier. HA 组标识符。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--nodes </span><node><span>[:</span><pri><span>]{,</span><node><span>[:</span><pri><span>]}* --nodes </span><node><span>[：</span><pri><span>]{，</span><node><span>[：</span><pri><span>]}*</span></p><p><span>List of cluster node names with optional priority. 具有可选优先级的群集节点名称列表。</span></p></li><li><p><span>--nofailback </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --nofailback </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>The CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior. CRM 尝试在具有最高优先级的节点上运行服务。如果具有较高优先级的节点联机，CRM 会将服务迁移到该节点。启用 nofailback 可防止该行为。</span></p></li><li><p><span>--restricted </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --restricted </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Resources bound to restricted groups may only run on nodes defined by the group. 绑定到受限组的资源只能在受限组定义的节点上运行。</span></p></li></ul><p><strong><span>ha-manager help</span></strong><span> [OPTIONS]</span>
<strong><span>ha-manager 帮助</span></strong><span> [选项]</span></p><p><span>Get help about specified command.</span>
<span>获取有关指定命令的帮助。</span></p><ul><li><p><span>--extra-args </span><array></p><p><span>Shows help for a specific command 显示特定命令的帮助</span></p></li><li><p><span>--verbose </span><boolean><span> --详细 </span><boolean></p><p><span>Verbose output format. 详细的输出格式。</span></p></li></ul><p><strong><span>ha-manager migrate HA-Manager 迁移</span></strong></p><p><span>An alias for </span><em><span>ha-manager crm-command migrate</span></em><span>.</span>
<em><span>ha-manager crm-command migrate</span></em><span> 的别名。</span></p><p><strong><span>ha-manager relocate HA-经理搬迁</span></strong></p><p><span>An alias for </span><em><span>ha-manager crm-command relocate</span></em><span>.</span>
<em><span>ha-manager crm-command relocate</span></em><span> 的别名。</span></p><p><strong><span>ha-manager remove</span></strong><span> </span><sid>
<strong><span>ha-manager 删除</span></strong><span> </span><sid></p><p><span>Delete resource configuration.</span>
<span>删除资源配置。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li></ul><p><strong><span>ha-manager set</span></strong><span> </span><sid><span> [OPTIONS]</span>
<strong><span>ha-manager set</span></strong><span> </span><sid><span> [选项]</span></p><p><span>Update resource configuration.</span>
<span>更新资源配置。</span></p><ul><li><p><sid><span>: </span><type><span>:</span><name><span> </span><sid><span>： </span><type><span>：</span><name></p><p><span>HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100). HA 资源 ID。它由资源类型后跟资源特定名称组成，用冒号分隔（例如：vm：100 / ct：100）。对于虚拟机和容器，只需使用 VM 或 CT ID 作为快捷方式（例如：100）。</span></p></li><li><p><span>--comment </span><string></p><p><span>Description. 描述。</span></p></li><li><p><span>--delete </span><string><span> --删除 </span><string></p><p><span>A list of settings you want to delete. 要删除的设置列表。</span></p></li><li><p><span>--digest </span><string></p><p><span>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. 如果当前配置文件具有不同的摘要，则防止更改。这可用于防止并发修改。</span></p></li><li><p><span>--group </span><string><span> --组 </span><string></p><p><span>The HA group identifier. HA 组标识符。</span></p></li><li><p><span>--max_relocate </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 1) --max_relocate </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Maximal number of service relocate tries when a service failes to start. 服务启动失败时服务重新定位尝试的最大次数。</span></p></li><li><p><span>--max_restart </span><integer><span> (0 - N) (</span><em><span>default =</span></em><span> 1) --max_restart </span><integer><span> （0 - N） （</span><em><span>默认值 =</span></em><span> 1）</span></p><p><span>Maximal number of tries to restart the service on a node after its start failed. 在节点启动失败后，尝试在节点上重新启动服务的最大次数。</span></p></li><li><p><span>--state &lt;disabled | enabled | ignored | started | stopped&gt; (</span><em><span>default =</span></em><span> started) --state &lt;disabled | enabled | ignored | started | stopped&gt;（</span><em><span>默认值 =</span></em><span> 已启动）</span></p><p><span>Requested resource state. 请求的资源状态。</span></p></li></ul><p><strong><span>ha-manager status</span></strong><span> [OPTIONS]</span>
<strong><span>ha-manager 状态</span></strong><span> [选项]</span></p><p><span>Display HA manger status.</span>
<span>显示 HA 管理器状态。</span></p><ul><li><p><span>--verbose </span><boolean><span> (</span><em><span>default =</span></em><span> 0) --verbose </span><boolean><span>（</span><em><span>默认值 =</span></em><span> 0）</span></p><p><span>Verbose output. Include complete CRM and LRM status (JSON). 详细输出。包括完整的 CRM 和 LRM 状态 （JSON）。</span></p></li></ul></div></div>
</body>
</html>